This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
CFLAGS in one-tree style cross builds w/ newlib
- From: Ralf Corsepius <ralf dot corsepius at rtems dot org>
- To: GCC List <gcc at gcc dot gnu dot org>
- Cc: Joel Sherrill <joel dot sherrill at OARcorp dot com>, Newlib List <newlib at sources dot redhat dot com>
- Date: Wed, 14 Sep 2005 15:08:01 +0200
- Subject: CFLAGS in one-tree style cross builds w/ newlib
Hi,
As it seems to me, CFLAGS handling with newlib+gcc-4.0.x one-tree style
cross-builds seems broken.
So far I have tried different permutations of setting CFLAGS,
CFLAGS_FOR_BUILD, CFLAGS_FOR_HOST and CFLAGS_FOR_TARGET, but have not
been successful so far.
Therefore - question: How is one supposed to pass custom CFLAGS to the
host-compiled components in GCC without breaking newlib?
Ralf