Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Thu, 9 Nov 2000 23:32:16 -0500
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@sources.redhat.com
Subject: Re: Can not found crt1.o when using -mno-cygwin option
Message-ID: <20001109233216.B6759@redhat.com>
Reply-To: cygwin@sources.redhat.com
Mail-Followup-To: cygwin@sources.redhat.com
References: <002101c04a1d$60ae0c20$de90718c@cm.nctu.edu.tw>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.6i
In-Reply-To: <002101c04a1d$60ae0c20$de90718c@cm.nctu.edu.tw>; from yrwang@cc.nctu.edu.tw on Thu, Nov 09, 2000 at 03:15:11PM +0800

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

