public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* libstdc++ configure fail due to -EL option
@ 2012-01-18  5:36 Zhenqiang Chen
  2012-01-18  5:43 ` Bryan Hundven
  2012-01-18  5:52 ` Khem Raj
  0 siblings, 2 replies; 16+ messages in thread
From: Zhenqiang Chen @ 2012-01-18  5:36 UTC (permalink / raw)
  To: crossgcc

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

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2012-01-23 23:55 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-18  5:36 libstdc++ configure fail due to -EL option Zhenqiang Chen
2012-01-18  5:43 ` Bryan Hundven
2012-01-18  5:52 ` Khem Raj
2012-01-18  7:09   ` Zhenqiang Chen
2012-01-18  7:10     ` Bryan Hundven
2012-01-18  7:22     ` Khem Raj
2012-01-18  7:28       ` Bryan Hundven
2012-01-18  8:02       ` Yann E. MORIN
     [not found]         ` <CAJ+oik0gsKpXgzR4cOxhyujv+=H-fuFsuhRouch9T2hz73U2FA@mail.gmail.com>
2012-01-18  8:47           ` Yann E. MORIN
2012-01-18  8:52             ` Zhenqiang Chen
2012-01-18 10:28     ` Mike Frysinger
2012-01-23 21:08       ` Bryan Hundven
2012-01-23 22:08         ` Mike Frysinger
2012-01-23 22:13           ` Bryan Hundven
2012-01-23 22:37           ` Yann E. MORIN
2012-01-23 23:55             ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).