This is the mail archive of the crossgcc@sources.redhat.com 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] |
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).
Grr. Ah, well, I guess I'll have to manage the addons better. I was planning on just not unpacking the thread addon I didn't want to use, but I realize that might not do for people with their own fully expanded trees.
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 32/libgcc_s_32.so: 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
* someone at IBM did this (see http://gcc.gnu.org/ml/gcc/2004-01/msg00785.html ) but mentions a few patches are needed
* have you tried setting USE_SYSROOT=1 like in x86_64.dat? - Dan
------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |