www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/09/23:33:37

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 9 Nov 2000 23:32:16 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT sources DOT redhat DOT com
Subject: Re: Can not found crt1.o when using -mno-cygwin option
Message-ID: <20001109233216.B6759@redhat.com>
Reply-To: cygwin AT sources DOT redhat DOT com
Mail-Followup-To: cygwin AT sources DOT redhat DOT com
References: <002101c04a1d$60ae0c20$de90718c AT cm DOT nctu DOT edu DOT tw>
Mime-Version: 1.0
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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019