delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/05/20:22:56

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
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Server-Uuid: 69572782-acac-11d2-9a9f-00805f9f8ca0
Message-ID: <FD0B46977251D21192D80008C7A48C520A6E7241@beavertn-svr-63.nike.com>
From: "Weber, Neil" <Neil DOT Weber AT nike DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: No longer can compile w/ -mno-cygwin
Date: Wed, 5 Dec 2001 17:21:00 -0800
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
X-WSS-ID: 1010178D119878-01-01

Hello,

I just upgraded my Cygwin installation and the C++ program that I used to
compile no longer compiles.
I don't remember which version of cygwin I was using for which it did
compile, but it was probably the
September release.

Here's my g++ command line:
  g++ -s -mwindows -mno-cygwin -c -o launcher.o launcher.cpp

The error messages are:
launcher.cpp:1: stdio.h: No such file or directory
launcher.cpp:2: stdlib.h: No such file or directory
launcher.cpp:3: ctype.h: No such file or directory
launcher.cpp:4: string.h: No such file or directory
launcher.cpp:5: process.h: No such file or directory
launcher.cpp:6: unistd.h: No such file or directory
launcher.cpp:7: stdlib.h: No such file or directory
In file included from /usr/include/w32api/windef.h:145,
                 from /usr/include/w32api/windows.h:98,
                 from launcher.cpp:8:
/usr/include/w32api/winnt.h:33: string.h: No such file or directory

If I remove the -mno-cygwin option, everything compiles.  I could go this
way, but I prefer not having to include cygwin1.dll.

Any help is appreciated,
Neil Weber



--
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/

- Raw text -


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