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] |
Hello all! I'm trying to build a i586->sparc toolchain, using the steps from crosstool-0.27 (I'm not using the shell script itself because I primarily want to gain insight in how the process works). I'm stuck now on building the full cross-glibc, in which I need the already built toolchain. The problem I'm facing?is that the toolchain is missing crt1.o. I believe this was supposed to be installed with gcc, but I'm not sure. I have found several items on crt1.o on the net, but so far have been unable to resolve my problem. I'm probably missing a very critical?step somewhere,?since there is no crt1.o installed: ##> find /tools | grep crt1.o ##> find /tools | grep crt /tools/lib/gcc-lib/sparc-pc-linux/3.3.3/crtbegin.o /tools/lib/gcc-lib/sparc-pc-linux/3.3.3/crtbeginS.o /tools/lib/gcc-lib/sparc-pc-linux/3.3.3/crtbeginT.o /tools/lib/gcc-lib/sparc-pc-linux/3.3.3/crtend.o /tools/lib/gcc-lib/sparc-pc-linux/3.3.3/crtendS.o /tools/lib/gcc-lib/sparc-pc-linux/3.3.3/crtfastmath.o ##> The tools: - binutils-2.14 - gcc-3.3.3 - glibc-2.3.2 I am running the same tools native. I have applied one patch, glibc-sscanf.c Other than that I'm using kernel 2.4.24. Below I have included some lines out of my .bash_history, I?hope I haven't left out some critical lines. Now my question: Which package is responsible for installing crt1.o??And how should I configure this package to end up with a working crt1.o? I'd be grateful for anything that might get me closer to a solution. I suspect I missed a configuration option somewhere, but I'm not sure where. Thanks in advance, Arno Schuring ================================ ##> cd Binutils-sparc/ ##> ../binutils-2.14/configure --prefix=/tools --disable-nls --target=sparc-pc-linux ##> make configure-host ##> make LDFLAGS="-all-static" ##> make install ##> cd ../linux-2.4/ ##> make ARCH=sparc oldconfig ##> make ARCH=sparc symlinks include/linux/version.h ##> mkdir -p /tools/include ##> cp -r include/linux /tools/include ##> cp -r include/asm-sparc /tools/include/asm ##> cp -r include/asm-generic /tools/include/asm-generic ##> cd .. ##> mkdir Glibc-HEADERS-sparc ##> cd Glibc-HEADERS-sparc/ ##> CC=/usr/bin/gcc ../glibc-2.3.2/configure --prefix=/tools --with-headers=/ tools/include --host=sparc-pc-linux --disable-sanity-checks ##> make cross-compiling=yes install_root=/tools prefix="" install-headers ##> cp -f?../glibc-2.3.2/include/features.h /tools/include/ ##> mkdir -p /tools/include/gnu ##> touch /tools/include/gnu/stubs.h ##> cp -f bits/stdio_lim.h /tools/include/bits/stdio_lim.h ##> cd .. ##> mkdir Gcc-core-sparc ##> cd Gcc-core-sparc/ ##> mkdir -p /tools/usr ##> ln -sf ../include /tools/usr/include ##> ../gcc-3.3.3/configure --prefix=/tools --enable-languages=c --with-local-prefix=/tools --target=sparc-pc-linux --with-sysroot=/tools --disable-shared --disable-nls --disable-threads ##> make LDFLAGS="-static" all-gcc ##> make install-gcc ##> cd .. ##> mkdir GLibc-FULL-sparc ##> cd GLibc-FULL-sparc/ ##> mkdir /tools/etc ##> touch /tools/etc/ld.so.conf ##> ../glibc-2.3.2/configure --prefix=/tools --enable-add-ons --host=sparc-pc-linux --with-headers=/tools/include --without-gd --without-tls --without-cvs --disable-profile --enable-static ------ 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] |