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


On Wed, 2007-09-05 at 15:57 -0700, Rick Mann wrote:
> On Sep 5, 2007, at 3:46 PM, Ralf Corsepius wrote:
> 
> > 2. build and install newlib+GCC (one-tree-style)
> 
> Oh! I didn't realize this was possible. Where do I find directions on  
> how to do this?
Ewww, ... - We are doing for so long, I don't recall if there were or
are any directions :)


In a nutshell, it's:

tar xjvf gcc-<gccversion>.tar.bz2
tar xzvr newlib-<newlibversion>.tar.gz
ln -s ../newlib-<newlibversion>/newlib gcc-<gccversion>

mkdir BUILD
cd BUILD
../gcc-<gccversion>/configure --with-newlib .....

i.e. symlink newlib-<version>/newlib into the gcc source tree and then
use gcc's configure (it knows about newlib)

For details (and should you be familiar with rpm specs), cf.
http://www.rtems.com/cgi-bin/cvsweb.cgi/rtems/contrib/crossrpms/rtems4.8/arm/rtems-4.8-arm-rtems4.8-gcc.spec

Ralf



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