From: janjaap@Wit381304.student.utwente.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.70FDE553@vet.com.au>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
To: Trevor Yann <TYann@vet.com.au>
Cc: GNU-Win32 list <gnu-win32@cygnus.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@cygnus.com" with one line of text: "help".
