This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: Cross compiler (again)


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


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