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'm trying to use crosstool to build a gcc-3.4.1/glibc-2.3.2 toolchain with ppc64 target hosted on ppc32 (specifically, an IBM pSeries machine running a ppc64 kernel but Debian sarge ppc32 userspace). I've successfully built a ppc64 toolchain on i386, but on ppc32, the build fails with: checking size of long double... configure: error: cannot compute sizeof (long double), 77 config.log shows: configure:6305: powerpc64-unknown-linux-gnu-gcc -o conftest -O conftest.c >&5 /usr/local/crosstool/ppc64/powerpc64-unknown-linux-gnu/gcc-3.4.1-glibc-2.3.2/lib/gcc/powerpc64-unknown-linux-gnu/3.4.1/../../../../powerpc64-unknown-linux-gnu/bin/ld: crt1.o: No such file: No such file or directory Possibly the problem is that in this environment (with a 64-bit kernel), uname gives ppc64: $ uname -m ppc64 so that configure thinks it's not cross-compiling: + /usr/local/crosstool/crosstool-0.28-rc32/build/powerpc64-unknown-linux-gnu/gcc-3.4.1-glibc-2.3.2/glibc-2.3.2/configure --prefix=/usr --build=powerpc64-unknown-linux-gnu --host=powerpc64-unknown-linux-gnu --without-tls --without-__thread --enable-kernel=2.4.3 --without-cvs --disable-profile --disable-debug --without-gd --enable-shared --enable-add-ons --with-headers=/usr/local/crosstool/ppc64/powerpc64-unknown-linux-gnu/gcc-3.4.1-glibc-2.3.2/powerpc64-unknown-linux-gnu/sys-root/usr/include checking build system type... powerpc64-unknown-linux-gnu checking host system type... powerpc64-unknown-linux-gnu Any ideas on what the correct fix should be? Thanks, Roland ------ 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] |