This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
newlib _REENT_SMALL
- From: fpaolo63 <fpaolo63 at gmail dot com>
- To: newlib at sourceware dot org
- Date: Thu, 18 Sep 2008 12:22:50 +0200
- Subject: newlib _REENT_SMALL
- Reply-to: fpaolo63 <fpaolo63 at gmail dot com>
Hi all,
I'm new on newlib.
I just made running my lpc23xx GNU tools chain on UBUNTU.
binutil 2.17, GCC 4.2.1, newlib 1.15, gdb 6.6
I wrote my own syslib, and I run a rtos application.
Now, I'd to reduce the memory footprint of the REENT support.
I have rebuilt the newlib setting _REENT_SMALL
(newlib_cflags="-DSMALL_MEMORY -D_REENT_SMALL").
Application is working fine but "struct _reent" on my application is
again ~1k.
I recompile the application defining -D_REENT_SMALL on my makefile:
"struct _reent"is now ~100B, my application is resetting.
Could someone give me infos / tricks.
Thanks
paolo