delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/02/18/21:15:25

From: janjaap AT Wit381304 DOT student DOT utwente DOT nl (Jan-Jaap van der Heijden)
Subject: Re: [ANNOUNCE] mingw32 updates
18 Feb 1998 21:15:25 -0800 :
Message-ID: <Pine.LNX.3.96.980218205511.2382A-100000.cygnus.gnu-win32@zoo-station.student.utwente.nl>
References: <34EA2B67 DOT 70FDE553 AT vet DOT com DOT au>
Mime-Version: 1.0
To: Trevor Yann <TYann AT vet DOT com DOT au>
Cc: GNU-Win32 list <gnu-win32 AT cygnus DOT com>

On Wed, 18 Feb 1998, Trevor Yann wrote:

> Thanks for this. It seems to work well, but I had trouble linking c++
> programs.
> 
> I edited the specs file, adding -lstdc++ at the end of the lib entry.
> 
> I guess that I could have specified -lstdc++ on the command line, but I
> thought that it shouldn't be necessary to do so.
> 

The C++ driver program is c++.exe (or g++.exe), not gcc.exe
That will append -lstdc++ for you.

JanJaap
---
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going
to land, and it could be dangerous sitting under them as they fly
overhead.  -- RFC1925.

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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