Cross-compiler for gcc 2.95.2 revisited.

Eric Doenges Eric.Doenges@batian.lpr.e-technik.tu-muenchen.de
Thu Nov 18 23:55:00 GMT 1999


karuottu@freenet.hut.fi (Kai Ruottu) writes:

> The gcc-2.95.2 needs the target headers for producing the necessary
>'libgcc.a's (several for some targets), not for the 'libobjc.a's.
>If your target never needs any headers, perhaps it doesn't need the
>'libgcc.a's either, who knows. But porting the Cygnus newlib for it,
>cannot be a bad idea... So you could start with its headers in
>'newlib-1.8.1/newlib/libc/include' or something, install them into the
>'<prefix>/<target>/include' and build GCC, install it, try to build
>newlib and continue with the extra C++ etc. libs in the gcc-2.95.2
>sources.

Or you can use the '--with-headers=<path to headers in newlib source
tree>' option while configuring, in which case you don't have to copy
anything manually. After you've made the compiler, you can then make and
install newlib using the supplied makefile.
-- 
________________________________________________________________________
Dipl.-Ing. Eric Doenges                         http://www.rcs.ei.tum.de
Institute for Real-Time Computer Systems (RCS)      fon +49-89-289-23590
Technische Universitaet Muenchen, D-80290 Muenchen  fax +49-89-289-23555


More information about the Gcc-help mailing list