This is the mail archive of the cygwin@sourceware.cygnus.com 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]

Q:gcc link error


Hi,

I'm tried to link(gcc -g -o rcvr *.o -lwsock32) object files generated by
gcc. But I got

/cygdrive/d/cygwin/usr/bin/ld: cannot open crt0.o: No such file or directory
collect2: ld returned 1 exit status

The crt0.o is in the LIB path(d:/cygwin/usr/lib).

I installed binutils,gcc,cygwin into the d:/cygwin/usr directory.

My Env are set as :

PATH="d:/cygwin/usr/bin;d:/cygwin/usr/include;d:/cygwin/usr/include/miggw32;
d:/cygwin/usr/lib"
include="d:/cygwin/usr/include;d:/cygwin/usr/include/miggw32"
lib="d:/cygwin/usr/lib"

Does anybody have any idea ?

Thanks,

Sungjin

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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