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] |
Hi, On Fri, Sep 17, 2010 at 5:55 PM, XVilka Haos of System <xvilka@gmail.com> wrote: > Good day! > > I'm always successfully use crosstool-ng for my own arm hardware and > successfully built toolchain on x86 linux. > But after i'm changed my distro from Debian to Gentoo - i'm found > strange problem: > > building of toolchain breaks, because compiler dont have -mlittle-endian option. > This is easy changed by recompiling gcc > will it ? "-mlittle-endian" is not supported by native x86{,-64}'s gcc, and I would not see the point of such option on a little-endian-only arch... > , but i tnink that such > dependency dont important and must be killed in your GREAT tool :) > > Here the logs and some info of compilers: > > [INFO ] ?Installing binutils: done in 183.55s (at 18:58) > [INFO ] ?================================================================= > [INFO ] ?Installing C library headers > [ERROR] ? ?cc1: error: unrecognized command line option "-mlittle-endian" > [ERROR] ? ?cc1: error: unrecognized command line option "-mlittle-endian" > [ERROR] ? ?make[1]: *** [include/bits/sysnum.h] Error 1 > [ERROR] ? ?Build failed in step 'Installing C library headers' > [ERROR] ? ?Error happened in > '/usr/local/lib/ct-ng-hg_default@2102_62834fa05290/scripts/functions' > in function 'CT_DoExecLog' (line unknown, sorry) > [ERROR] ? ? ? ? ?called from > '/usr/local/lib/ct-ng-hg_default@2102_62834fa05290/scripts/build/libc/uClibc.sh' > at line # 113 in function 'do_libc_headers' > [ERROR] ? ? ? ? ?called from > '/usr/local/lib/ct-ng-hg_default@2102_62834fa05290/scripts/crosstool-NG.sh' > at line # 597 in function 'main' > [ERROR] ? ?Look at '/home/xvilka/cross/toolchain/TARGET/build.log' for > more info on this error. > [ERROR] ?(elapsed: 19:16.98) > [19:18] / make: *** [build] Error 2 > > gcc (Gentoo 4.4.3-r2 p1.2) 4.4.3 > [...] > > gcc -dumpspecs > [...] > Lots of info given, none of them really useful... What is the configuration you are trying to build ? What crosstool-ng version are you using ? I'd guess that some place try to use the target cross-compiler where it should not. Thanks, - Arnaud -- 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] |