Building newlib without -mhard-float
Jeff Johnston
jjohnstn@redhat.com
Wed Sep 5 00:14:00 GMT 2007
Rick Mann wrote:
>
> On Sep 4, 2007, at 11:22 AM, Jeff Johnston wrote:
>
>> 2. Disable multilib and manually build a library you want. In this
>> particular case, you should use TARGET_CFLAGS to append whatever
>> compiler options you want to the default options used to build
>> newlib. You disable multilib by adding --disable-multilib to
>
> Did you mean CFLAGS_FOR_TARGET instead of TARGET_CFLAGS?
>
I meant TARGET_CFLAGS. This is used in all low-level newlib directories
(take a look at libc/string/Makefile.am). This will add your options
without messing with defaulted and configured options (e.g. -g -O2 is
defaulted and you want to add -march=mycpu).
-- Jeff J.
More information about the Newlib
mailing list