This is the mail archive of the crossgcc@sourceware.org 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 try to build a toolchain for a i486-linux-gnu target, and I'm new to cross compiling. I'm running a i686-pc-cygwin system
../../../sources/binutils/binutils-2.19.1/configure -C --target=i486-linux-gnu --prefix=`pwd`/../tools --exec-prefix=`pwd`/../tools --disable-nls -v make all make install
../../../sources/gcc/gcc-4.3.3/configure -C --target=i486-linux-gnu --prefix=`pwd`/../tools --exec-prefix=`pwd`/../tools --enable-languages=c --disable-nls make all-gcc make install-gcc
CC=../tools/bin/i486-linux-gnu-gcc.exe CFLAGS=-I../kernel-include/linux-2.6.27/include ../../../sources/glibc-2.9/configure -C --host=i486-linux-gnu --build=i686-pc-cygwin --prefix=`pwd`/../tools --exec-prefix=`pwd`/../tools --enable-add-ons --with-headers=../kernel-include/linux-2.6.27/include --disable-nls
running configure fragment for nptl/sysdeps/pthread checking for forced unwind support... no configure: error: forced unwind support is required
The unwind support fails because glibc configure script tries to compile and link a small program testing for unwind support, and the link fails:
Where should this file crt1.o come from ?. I know its a C runtime startup file. I guess that this is a target object file.
The http://gcc.gnu.org/install/build.html page, under the "Building a cross compiler" section, tells that [It] Build runtime libraries using the compiler from the previous step
So I suppose the crt1.o object file should be located in those libraries, but I cannot find them
-- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |