Bug 131133 - crossdev using incorrect parameter for binutils-config
Bug#: 131133 Product:  Gentoo Linux Version: 2006.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: toolchain@gentoo.org Reported By: brett@blzj.com
Component: Development
URL: 
Summary: crossdev using incorrect parameter for binutils-config
Keywords:  
Status Whiteboard: 
Opened: 2006-04-24 12:30 0000
Description:   Opened: 2006-04-24 12:30 0000
crossdev tries to check the version of binutils using the -v option, and it
should be -V.

--- /usr/sbin/crossdev  2006-04-24 14:21:52.000000000 -0500
+++ /tmp/crossdev       2006-04-24 14:25:24.000000000 -0500
@@ -357,7 +357,7 @@

 #####################
 ### sanity checks ###
-if ! binutils-config -v &> /dev/null ; then
+if ! binutils-config -V &> /dev/null ; then
        eerror "Sorry, but your host system needs to have binutils-config"
        eerror "in order to keep from screwing things up."
        eerror "That means you must be running unstable versions of"

------- Comment #1 From Brett Johnson 2006-04-24 12:31:20 0000 -------
Created an attachment (id=85373) [details]
patch to correct crossdev version checking of binutils-config

------- Comment #2 From Brett Johnson 2006-04-24 12:39:03 0000 -------
Here is the forum thread
http://forums.gentoo.org/viewtopic-t-456697-highlight-crossdev.html

------- Comment #3 From SpanKY 2006-04-24 15:01:39 0000 -------
better to use --version as all binutils-config support that