This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
option enable-target-optspace overwrites CFLAGS_FOR_TARGET
- From: "Oliver Metz" <oliver dot metz at gmx dot de>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Wed, 1 Jun 2011 08:34:53 +0200
- Subject: option enable-target-optspace overwrites CFLAGS_FOR_TARGET
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