CT-NG: floating point support in Newlibs printf?

Yann E. MORIN yann.morin.1998@anciens.enib.fr
Fri Oct 22 22:40:00 GMT 2010


Jeppe, All,

On Thursday 21 October 2010 12:55:30 Jeppe Ledet-Pedersen wrote:
> I have successfully compiled a toolchain for my ARM7TDMI with 
> crosstool-NG 1.8.1. I have used GCC 4.5.0, Newlib 1.18 and Binutils 
> 2.20.1, disabled EABI and software floating point. The full 
> build.log.bz2 can be downloaded from http://kom.aau.dk/~jledet/build.log.bz2
> 
> I can compile my codebase with no errors, but I am having trouble when 
> trying to use printf and siblings with floating point values. Everything 
> else, including printf's with integers, seems to work as expected.
[--SNIP--]

Care to see if the attached is working for you?

I was able to build a toolchain with it, but I have nothing to
test the result on.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ct-ng.new-float-ios.patch
Type: text/x-diff
Size: 1692 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20101022/f83c6471/attachment.bin>
-------------- next part --------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq


More information about the crossgcc mailing list