This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Cross-compiler for gcc 2.95.2 revisited.
- To: help-gcc at gnu dot org
- Subject: Re: Cross-compiler for gcc 2.95.2 revisited.
- From: Eric Doenges <Eric dot Doenges at batian dot lpr dot e-technik dot tu-muenchen dot de>
- Date: 19 Nov 99 07:49:37 GMT
- Distribution: world
- Newsgroups: gnu.gcc.help
- Organization: Lehrstuhl fuer Realzeit-Computersysteme, TU Muenchen (Germany)
- References: <38322A61.44B5B73C@whoever.com> <3833f1e3.17898737@news.nettilinja.fi>
- Reply-To: Eric dot Doenges at batian dot lpr dot e-technik dot tu-muenchen dot de
- Xref: wodc7nx0 gnu.gcc.help:1885
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