public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* option enable-target-optspace overwrites CFLAGS_FOR_TARGET
@ 2011-06-01  6:35 Oliver Metz
  2011-06-01  6:58 ` Ian Lance Taylor
  0 siblings, 1 reply; 4+ messages in thread
From: Oliver Metz @ 2011-06-01  6:35 UTC (permalink / raw)
  To: gcc-help

Hello.

I'm building a mips cross toolchain. The target libs (libgcc, libstdc++)
should be optimized for the target. But when using
"--enable-target-optspace" configure switch my CFLAGS_FOR_TARGETS are
overwritten as config/mt-ospace gets included. A similar question was asked
here [1] years ago. There is also a ten years old bug report [2].

Is this the desired behavior of --enable-target-optspace or do you consider
this as a bug?

I tried to configure with "--with-arch=4kc --with-float=soft" but this
doesn't influence the CFLAGS for gcc build.

Regards
Oliver

p.s. At crosgcc-ml nobody was able to help me. [3]

[1] http://sourceware.org/ml/newlib/2007/msg00828.html
[2] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2222
[3]
http://old.nabble.com/Optimizing-target-libraries-for-target-arch-td31700174
.html



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

end of thread, other threads:[~2011-06-02 20:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-01  6:35 option enable-target-optspace overwrites CFLAGS_FOR_TARGET Oliver Metz
2011-06-01  6:58 ` Ian Lance Taylor
2011-06-02 12:31   ` Oliver Metz
2011-06-02 20:24     ` Ian Lance Taylor

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).