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] |
----------------------------
Problem:
x86-cross-sparc64 toolchain, binutils-2.14, gcc-3.4-20040121, glibc-2.3.3-20040127
cross compiling glibc fails
Solution:
When running "configure" script for glibc, set CC="sparc-64-unknown-linux-gnu -mcpu=ultrasparc3"
Wouldn't it be cleaner to just have a sparc64.dat that contained
TARGET=sparc64-unknown-linux-gnu TARGET_CFLAGS="-O -mcpu=ultrasparc3" GCC_EXTRA_CONFIG="--disable-multilib"
?
BTW, I did try building for sparc64 once, but got the error
../sysdeps/unix/sysv/linux/sparc/sparc64/pause.c:1:39: sysdeps/unix/common/pause.c: No such file or directory
make[2]: *** [/home/dank/crosstool-0.27-pre1/build/sparc64-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/build-glibc/posix/pause.o] Error 1
and haven't tried diagnosing it yet. Sounds like you're further along than me;
where'd you get that version of glibc? Is it an official
snapshot, or did you grab it from cvs yourself?
- Dan
PASS="anoncvs" CVSROOTDIR=":pserver:anoncvs@sources.redhat.com:/cvs/glibc"
#cvs -z 9 -d $CVSROOTDIR login cvs -z 9 -d $CVSROOTDIR checkout libc
------ 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] |