Cross compilation and compilation flags
Jeffrey A Law
law@cygnus.com
Mon Nov 10 11:52:00 GMT 1997
In message < 199711101933.TAA00170@iron.rcp.co.uk >you write:
> I would like to specify different compilation flags for host and target
> compilations.
>
> For example specify "-mpentium" for host and" -mcpu=strongarm110" for
> target.
Do you mean specify that host tools should be built with -mpentium and
target things with -mcpu-strongarm110?
I would think you could set CFLAGS_FOR_TARGET to -mcpu=stronarm110
and set CC to "gcc -mpentium".
jeff
More information about the Gcc
mailing list