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]

Re: libstdc++ configure fail due to -EL option


On Tue, Jan 17, 2012 at 9:36 PM, Zhenqiang Chen
<zhenqiang.chen@linaro.org> wrote:
> 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

Could you post your .config and build.log to pastebin or a file server?

I don't have this problem with my arm configs.

-Bryan

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