delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/07/10/12:14:53

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <156F63BC1F91D21189D000104B8D6AA049572B@EVEREST>
From: Craig Hobbs <CraigH AT visio DOT com>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: RE: Pesky -mno-cygwin problem
Date: Sat, 10 Jul 1999 09:14:18 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)

While we're talking about -mno-cygwin...  This is something I noticed a
while ago -- I'm using b20.1 and egcs-2.91.66 -- notice that the following
code doesn't compile with -mno-cygwin:

// test.cpp
#include <string>

int main()
	{
	std::string s;
	return 0;
	}

gcc -c -g -mno-cygwin test.cpp
In file included from
C:/bin/cygnus/CYGWIN~1/H-I586~1/bin/../lib/gcc-lib/i586-cygwin32/egcs-2.91.6
6/../../../../../include/g++/string:6,
                 from test.cpp:1:
C:/bin/cygnus/CYGWIN~1/H-I586~1/bin/../lib/gcc-lib/i586-cygwin32/egcs-2.91.6
6/../../../../../include/g++/std/bastring.h:65: parse error before `>'
C:/bin/cygnus/CYGWIN~1/H-I586~1/bin/../lib/gcc-lib/i586-cygwin32/egcs-2.91.6
6/../../../../../include/g++/std/bastring.h:71: confused by earlier errors,
bailing out
make: *** [test.o] Error 1
make: Target `all' not remade because of errors.

-----Original Message-----
From: Ward Correll [mailto:wardless AT hotmail DOT com]
Sent: Saturday, July 10, 1999 9:06 AM
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Pesky -mno-cygwin problem


  I'm trying to compile a C++ program with the latest version of Cygwin that

isn't dependent on the cygwin dynamic link library (cygwin1.dll). When I try

it the compiler outputs a ton of things on the screen and the program 
doesn't get compiled that way. Any suggestions for a beginning programmer on

the problem?


_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

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