This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Specifying cross-compile flags for newlib
- From: "Robert Cragie" <rcc at jennic dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Tue, 18 Sep 2007 11:12:59 +0100
- Subject: Specifying cross-compile flags for newlib
- Reply-to: <rcc at jennic dot com>
I am building a cross compiler and automatically building in newlib
with --with-newlib in the configure options. I need to pass additional
compiler flags to the just-build cross-compiler when compiling libgcc2 and
newlib. I can figure out what to do for libgcc2 - specify
TARGET_LIBGCC2_CFLAGS in the t-default Makefile segment in the
gcc/contrib/<arch> subdir. However, these flags don't get passed to newlib -
how do I do the same for newlib?
Thanks in advance
Robert Cragie, Design Engineer
_______________________________________________________________
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
http://www.jennic.com Tel: +44 (0) 114 281 2655
_______________________________________________________________