This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

Re: sh-elf


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


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