libstdc++ configure fail due to -EL option

Zhenqiang Chen zhenqiang.chen@linaro.org
Wed Jan 18 05:36:00 GMT 2012


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



More information about the crossgcc mailing list