This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]