Building newlib without -mhard-float
Ralf Corsepius
ralf.corsepius@rtems.org
Thu Sep 6 01:28:00 GMT 2007
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
More information about the Newlib
mailing list