This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
RE: Does Newlib support printf for float/double numbers?
- From: "Jon Beniston" <jon at beniston dot com>
- To: "'Qihang Huang'" <qihang dot huang at gmail dot com>, <newlib at sourceware dot org>
- Date: Thu, 20 May 2010 10:49:43 +0100
- Subject: RE: Does Newlib support printf for float/double numbers?
- References: <AANLkTilwBhyxKtfkynHzbU9G0DQVeZZ6mAoJIQV_ikPB@mail.gmail.com>
Hi,
> On a 64 bit AMD machine with Linux 2.6.30, I installed newlib by filling
the
> system call stubs with Linux system calls.
I think newlib should already have support for Linux. How did you run
configure? What compiler are you using? How was that configured?
> So does Newlib support it?
Yes, newlib does support floats and doubles - although on some machines it
requires some support from libgcc.
Cheers,
Jon