sh-elf

William Gatliff gatliff@haulpak.com
Tue Aug 31 12:41:00 GMT 1999


Jiu:

> Do you mean I need to install newlib before I compile the cross-gcc, or I just
> simply use the include files from newlib? In CrossGCC FAQ is says the order
> should be: binutils-gcc-newlib-gdb.

Yes-- to get things to work, you must set up the link to the newlib sources *before*
you start building gcc.  Gcc then builds newlib itself at the proper time, and so you
don't ever type "make newlib": gcc does that for you during "make cross".

So, the order is really: binutils-gcc+newlib-gdb

Once you have a cross compiler, *then* you can rebuild newlib without rebuilding
sh-hitachi-hms-gcc, if you like.

b.g.

--
William A. Gatliff
Senior Design Engineer
Komatsu Mining Systems
To teach is to learn.




------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list