[buildroot 0001097]: dependency checks - Debian gcc

bugs at busybox.net bugs at busybox.net
Mon Nov 20 17:47:12 PST 2006


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=1097 
====================================================================== 
Reported By:                alchemar
Assigned To:                uClibc
====================================================================== 
Project:                    buildroot
Issue ID:                   1097
Category:                   Other
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             11-20-2006 17:47 PST
Last Modified:              11-20-2006 17:47 PST
====================================================================== 
Summary:                    dependency checks - Debian gcc
Description: 
My Debian Distribution adds a version number in gcc that was creating a
warning on the dependency checks.  I modified the sed statement so that it
will grab the first set of numbers instead of the last by looking for "not
a number" [^0-9]* instead of "any" .*  character at the start of the
pattern.



checked out code from svn on 11-19-2006

buildroot/toolchain/dependencies/dependencies.sh

Line 73


COMPILER_VERSION=$($COMPILER --version 2>&1 | head -n1 | $XSED -e 's/^.*
\([0-9\.]\)/\1/g' -e "s/[-\ ].*//g")

COMPILER_VERSION=$($COMPILER --version 2>&1 | head -n1 | $XSED -e
's/^[^0-9]* \([0-9\.]\)/\1/g' -e "s/[-\ ].*//g")

====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-20-06 17:47  alchemar       New Issue                                    
11-20-06 17:47  alchemar       Status                   new => assigned     
11-20-06 17:47  alchemar       Assigned To               => uClibc          
11-20-06 17:47  alchemar       File Added: dependencies.sh                    
======================================================================



More information about the uClibc-cvs mailing list