This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
problem in cross compiling newlib
- From: JulyClyde <julyclyde at gmail dot com>
- To: newlib at sources dot redhat dot com
- Date: Fri, 11 Aug 2006 09:54:16 +0800
- Subject: problem in cross compiling newlib
Hi, everybody,
I want to compile newlib on a i386 PC and the newlib is intend to
run on ARM. What parametes should I use when configure?
The README is confusing. In the "Compiling NEWLIB" section, it says
you can build NEWLIB in a separate directory for a Sun 4 cross
m68k-aout environment like this:
../newlib-1.14.0/configure --host=sun4 --target=m68k-aout
but in the "The Build, Host and Target Concepts in newlib" section, it says
gcc's target platform is newlib's host platform.
and as mentioned before, newlib has no concept of target.
Which should I follow?
--
Ren Xiaolei
Information Engineering University of PLA