This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Some basic questions from a novice !
- From: Frank Juergen-r58616 <Juergen dot Frank at freescale dot com>
- To: newlib at sources dot redhat dot com
- Date: Tue, 3 Jan 2006 11:05:51 +0100
- Subject: Some basic questions from a novice !
Hi !!
I want to use GCC ( powerpc-eabi ) with newlib.
How it is possible to use diff. powerpc cores which has diff. instructions sets (or subset) for example I want to compile a program for the 603e, PPC405 and for the 8540. With and without hardware-floating point. What is the best way to do this ? I try the CFLAGS_FOR_TARGET = "-mhard-float -mcpu=603e", but if I set this environment variable I can't compile newlib anymore !
Finally, I want my own newlib versions for every core ... any hints and ideas ?
Should I use the multilibs functionality of gcc ? How ? I didn't understand this, approach ...
I compile newlib for the powerpc-eabi and it works but I'm wandering how newlib is created ... in the output I found only the normal gcc and not my cross-gcc, why where can I found a good docu to build newlib ?!
Juergen