| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| To: | cygwin AT cygwin DOT com |
| X-Injected-Via-Gmane: | http://gmane.org/ |
| Path: | not-for-mail |
| From: | Daniel Jeffery <d DOT jeffery AT mailandnews DOT com> |
| Subject: | trouble with -mno-cygwin |
| Date: | Sun, 03 Nov 2002 20:38:46 -0700 |
| Lines: | 24 |
| Message-ID: | <3DC5EBC6.7010000@mailandnews.com> |
| NNTP-Posting-Host: | dm13-138.slc.aros.net |
| Mime-Version: | 1.0 |
| X-Trace: | main.gmane.org 1036377558 9372 66.219.222.138 (4 Nov 2002 02:39:18 GMT) |
| X-Complaints-To: | usenet AT main DOT gmane DOT org |
| NNTP-Posting-Date: | Mon, 4 Nov 2002 02:39:18 +0000 (UTC) |
| User-Agent: | Mozilla/5.0 (Windows; U; Win95; en-US; rv:0.9.4.1) Gecko/20020508 Netscape6/6.2.3 |
| X-Accept-Language: | en-us |
So I do `gcc -o hello.exe hello.c' and it works, but if I try `gcc -o
hello.exe -mno-cygwin hello.c' it comes back with the error:
gcc: installation problem, cannot exec `cc1': No such file or directory
after `PATH=${PATH}:/usr/lib/gcc-lib/i686-pc-cygwin/3.2' I get:
ld: cannot open crt2.o: No such file or directory
A quick perusal of July 2002 on this mailing list reveals someone had
the exact same problem. (thread: Re: Available for test: gcc-3.1.1-1,
gcc2-2.95.3-6, and gcc-mingw-3_1-20020516-1) The answer?
>> Did you install the cygwin-mingw package? It doesn't sound like you
>> did.
> Umm ... duh. Thank-you.
The package `mingw-runtime' has been unpacked, but I know of no package
named `cygwin-mingw'. For now I am left with the same errors. Even if
`-mno-cygwin' has been deprecated, I would still like to compile SDL.
ciao all,
- Daniel J.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |