This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

building cross compiler from cygwin windows to linux: crti.o no such file or directory

[Excuse me for sending this mail to both mailing list. I am not very sure,
which mailing list this mail is more suitable]

I am trying to build cross compiler from cygwin window to linux. I did
configured and build binutils as follows:
dir>/binutils-2.14/configure --host=i686-pc-cygwin --target=i686-pc-linux-gn
u --prefix=<tool dir>/host/i686-pc-cygwin  && make

This worked well. Later I tried to compile gcc as follows:
dir>/gcc-3.3.1-3/configure --host=i686-pc-cygwin --target=i686-pc-linux-gnu 
 --prefix=<tool dir>/host/i686-pc-cygwin --with-newlib --disable-threads

This ended up in following error message:
/usr/local/gnu/tools/host/i686-pc-cygwin/i686-pc-linux-gnu/bin/ld: cannot
open crti.o: No such file or directory
collect2: ld returned 1 exit status
make[2]: *** [] Error 1
make[2]: Leaving directory `/usr/local/gnu/obj/gcc-3.3.1-3/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/usr/local/gnu/obj/gcc-3.3.1-3/gcc'
make: *** [all-gcc] Error 2

When I executed "find ./ -name crt?.*" at command prompt, I got following

Out of these files none belongs to i386 architecture. I am not sure if
corrosponding file is missing from gcc source code or I am making some
mistake in configuration.


Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]