This is the mail archive of the cygwin@sources.redhat.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]

Re: Can not found crt1.o when using -mno-cygwin option


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


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