This is the mail archive of the mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[powerpc64] crosstool 0.27 problems

I have some problems with build a cross toolchain for powerpc64 from an x86. I 
am trying to use linux 2.4.24, gcc 3.4 and binutils cvs head. Latter I will 
try linux 2.6.

I had to a new item to  case $TARGET :
powerpc64*) ARCH=ppc64

replace  --enable-add-ons   with --enable-add-ons=linuxthreads (glibc 
complains about building nptl and linuxthreads simultaneously).

and before compiling glibc create this link:

cd ${PREFIX}/lib/gcc/$TARGET/3.4.0/
ln -s libgcc.a libgcc_eh.a
cd -

Unfortunately this was not enough. Now the process fails while linking 
crti.o: No such file

The file crti.o exists in a "lib64" dir. Gcc is searching for it on the 
corresponding "lib" dir. If I copy the file from one directory to the other 
then gcc complains about a missing -lc. Coping this one too the error is:
 skipping incompatible ...../lib/libc.a when searching for -lc

cannot find -lc

Any suggestions?

Rafael Ávila de Espíndola

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

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