CFLAGS in one-tree style cross builds w/ newlib

Ralf Corsepius ralf.corsepius@rtems.org
Wed Sep 14 13:10:00 GMT 2005


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





More information about the Newlib mailing list