This is the mail archive of the crossgcc@sources.redhat.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]

ppc on i586: gcc doesn't compile


I'm trying to create a cross compiler with target=ppc-linux and host=i586-
linux. After building and installing binutils, I'm getting the following 
error when compiling gcc:
during the step

Configuring in ppc-linux/libiberty
...
checking whether the C compiler (/users/mklinux/egcs-build/gcc/xgcc -B/
users/mklinux/egcs-build/gcc/ -g -O2) works... no
C compiler cannot create executables

This xgcc is working, but if you give the command line 
/users/mklinux/egcs-build/gcc/xgcc -B/users/mklinux/egcs-build/gcc/ -g -O2
it stops saying no input files.

My configure command was:
../egcs-1.1.2/configure --target=ppc-linux
and my make command was
make cross

I've also tryed
../egcs-1.1.2/configure --target=ppc-linux --enable-languages="c"
but it stopped with the same error.

My sources are:

gas-990418
egcs-1.1.2
glibc-2.1.1

I know they are not the most uptodate, but unless there is some serious bug 
that prevents them to create a cross compiler, I'd like to use them: my 
Internet connection at the moment is only a 33.6k modem, which is too slow 
to download the most recent sources.

Any help?

Paulo

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


------
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]