[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] selective linking of floating point support for *prin
From: |
Thomas Preud'homme |
Subject: |
Re: [avr-libc-dev] selective linking of floating point support for *printf / *scanf |
Date: |
Thu, 23 Oct 2014 09:49:38 +0100 |
Hi all,
I changed the target hook somehow so that more code run in the backend since
depending on the target (avr-libc Vs newlib) two different schemes are used:
printf -> iprintf renaming or defining _printf_float as a global symbol.
I thus renamed the target hook to match such a usage.
The proposed patch is attached to this email (otherwise it would be mangled).
Joern, would such a scheme be ok for you? You could add another function in
targhooks.c for doing the renaming as it could be useful for other targets.
Best regards,
Thomas
gcc32rm-191.4.1.diff
Description: Binary data
- Re: [avr-libc-dev] selective linking of floating point support for *printf / *scanf,
Thomas Preud'homme <=