This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: Problem with --enable-target-optspace
- From: Artur Lipowski <LAL at pro dot onet dot pl>
- To: Jeff Johnston <jjohnstn at redhat dot com>
- Cc: newlib at sourceware dot org
- Date: Wed, 01 Aug 2007 20:39:55 +0200
- Subject: Re: Problem with --enable-target-optspace
- References: <46AC7C49.9090107@pro.onet.pl> <46AFAD9C.8040908@redhat.com>
Jeff Johnston wrote:
You can add flags by specifying TARGET_CFLAGS=xxxx on your make
invocation. The makefiles in the lower levels have:
...
Thanks a lot it works very nice.
For things such as -DREENTRANT_SYSCALLS_PROVIDED, unless you are doing
an experiment, this should be something you put in your platform's
newlib_cflags setting in newlib/configure.host
Yes it is an experiment with small ARM7 platforms.
I think than even when experiment will be finished I will stay with using
TARGET_CFLAGS. I am working with a few "flavors" of the mentioned
microcontrollers and instead of keeping many versions of "tuned" newlib I'd
rather prefer to do automatic build (very easy now when you explained me
TARGET_CFLAGS) and do it every time when I switch platform (it takes less than 2
minutes).
Regards,
--
Artur Lipowski