problem in cross compiling newlib

JulyClyde julyclyde@gmail.com
Fri Aug 11 02:17:00 GMT 2006


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



More information about the Newlib mailing list