This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
How to optimize newlib for a specific ARM processor?
- From: "Fernando Ramos" <framos at hypercom dot com>
- To: <newlib at sourceware dot org>
- Date: Fri, 15 Sep 2006 16:20:43 -0700
- Subject: How to optimize newlib for a specific ARM processor?
Hi, all.
I'm trying to generate newlib for a board that uses a arm922t processor.
How can I have configure (or the makefile it generates) create an
optimized version of newlib for that processor?
I see that there's a whole set of optimizations for xscale, but I think
it is not necessary to go to that extreme of customization of the
configuration files.
Can I specify the target as arm922t-elf and hope that the libraries will
be compiled with "-mcpu=arm922t"?
Should I simply use something like CFLAGS="-mcpu=arm922t" when invoking
make ?
Suggestions are welcome...
Fernando Ramos
Senior Software Engineer
Hypercom Corp.