This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Can not found crt1.o when using -mno-cygwin option
- To: cygwin at sources dot redhat dot com
- Subject: Re: Can not found crt1.o when using -mno-cygwin option
- From: Christopher Faylor <cgf at redhat dot com>
- Date: Thu, 9 Nov 2000 23:32:16 -0500
- References: <002101c04a1d$60ae0c20$de90718c@cm.nctu.edu.tw>
- Reply-To: cygwin at sources dot redhat dot com
On Thu, Nov 09, 2000 at 03:15:11PM +0800, Topas wrote:
>After install cygwin-1.1.5-6, mingw-20001103-1, w32api-20001103-1, =
>gcc-2.95.2-4
>When compiling a program with -mno-cygwin option,=20
>
>>gcc t1.c -mno-cygwin
>/usr/bin/ld: cannot open crt1.o: No such file or directory
>collect2: ld returned 1 exit status
>
>Is there's any thing I forget to setup?
I screwed up the mingw case. Can't believe that I forgot to test this.
Adding a -B/usr/lib/mingw to your command line will probably help.
You may need a -I/usr/include/w32api, too.
>And, Can I suggest to do something in setup.ini that cygwin-1.1.5-6,
>mingw-20001103-1, w32api-20001103-1, gcc-2.95.2-4 will be installed,
>when the test version is selected. And, cygwin-1.1.4, gcc-2.95-3 will
>be installed for the current version.
No one can stop you from suggesting. There is no reason to do any of
the above but you can certainly suggest that "someone" should do this.
cgf
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com