This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I am building a cross compiler and automatically building in newlibWhat about browsing the main 'Makefile' and searching for 'CFLAGS' ?
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?
CFLAGS_FOR_TARGET="-Os -omit-frame-pointer" \ $GCC_SRC/configure ......
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 _______________________________________________________________
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |