This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ct-nt + bash detection


Hi folks,


I've just grabbed the current trunk and discovered an problem
with the bash version detection: (./configure:127)

For some strange reason, my bash (@Gentoo) reports some uncommon (?)
version, which ct-ng couldn't handle:

    GNU bash, version 3.2.17(1)-release (i686-pc-linux-gnu)
    
I replaced the line to:

    bash_version=`/bin/bash --version |head -n 1 |cut -d ' ' -f 4|sed -e "s/\..*//g;"`

So it works now. I've just cutted evrything beyond the first dot,
since we just want to know the major number.


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service - http://www.metux.de/
---------------------------------------------------------------------
 Please visit the OpenSource QM Taskforce:
 	http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
	http://patches.metux.de/
---------------------------------------------------------------------

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]