option enable-target-optspace overwrites CFLAGS_FOR_TARGET
Oliver Metz
oliver.metz@gmx.de
Wed Jun 1 06:35:00 GMT 2011
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
More information about the Gcc-help
mailing list