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]

libstdc++ configure fail due to -EL option


Hi all,

I try to build gcc trunk from crosstool-ng for arm-linux-gnueabi. But
xgcc reports error when configuring libstdc++ due to "-EL" option.

  xgcc: error: unrecognized command line option '-EL'

"-EL" is added to CT_ARCH_ENDIAN_LDFLAG since my .config uses little
endian. CT_ARCH_ENDIAN_LDFLAG is part of CT_ARCH_TARGET_LDFLAGS, which
is part of CT_TARGET_LDFLAGS.
In ./build/cc/gcc.sh:    LDFLAGS_FOR_TARGET="${CT_TARGET_LDFLAGS}.
Then, at the end "-EL" is used to compile libstdc++.

The build passes when I remove the "-EL".

Is it a bug? Which gcc supports -EL/-EB option?

Thanks!
-Zhenqiang

--
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]