This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Cross compiler (again)
- To: Franz dot Sirl-kernel at lauterbach dot com
- Subject: Re: Cross compiler (again)
- From: Sven LUTHER <LUTHERSV at e-i dot com>
- Date: Wed, 08 Jul 1998 08:46:35 +0200
- CC: egcs at cygnus dot com
- Reply-To: luther at dpt-info dot u-strasbg dot fr, LUTHERSV at e-i dot com
You wrote :
| Am Mon, 06 Jul 1998 schrieb luther@dpt-info.u-strasbg.fr:
| >Hello, ...
| >
| >i managed to compile a m68k-linux -> ppc-linux-glibc1 cross compiler
| thanks to
| >the help i received from this list.
| >
| >Yesterday i got hold of some ppc-linux-glibc2 includes and libraries,
| and was in the process of building a cross compiler for them.
| >
| >I got the message (while compiling libgcc2.c:1719)
| >
| >* conflicting types for atexit
| >declared in stdlib.h:502 and in gcc/gbl-ctors.h:43
|
| Have you specified --target=powerpc-unknow-linux-gnu (no glibc1!)?
| That's the correct one for glibc-2.1.
|
| Franz.
The exact configure options were :
./configure --target=ppc-linux --with-headers=/usr/local/include-ppc
--with-libs=/usr/local/libs-ppc
i use linux-ppc because so i have shorter executable names. ppc-linux
get changed to powerpc-unknown-linux-gnu by config.sub so it should
cause no problem.
is there another way to declare aliases for target names ?
a yes i use glibc2.0.94 as it is the correct one for ppc and not
glibc2.0.[567]. i got it from the debian/slink ppc packages.
Friendly,
Sven LUTHER