This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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]

Re: Building newlib without -mhard-float


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]