This is the mail archive of the
mailing list for the Cygwin project.
Re: mingw libs
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: y2bismil at engmail dot uwaterloo dot ca
- Cc: cygwin at cygwin dot com
- Date: Thu, 9 Oct 2003 16:37:38 -0400 (EDT)
- Subject: Re: mingw libs
- References: <firstname.lastname@example.org>
- Reply-to: cygwin at cygwin dot com
On Thu, 9 Oct 2003 email@example.com wrote:
> Hi all,
> I'm trying to build an app using cygwin-gcc and the mingw package all provided
> by the standard cygwin install. This is a purely console app, whose only use
> beyond standard c++ is the conio library.
> I'm getting errors like:
> undefined refernce to operator new
> undefined refernce to operator delete
> I think I'm not linking in the appropriate libs. Does anyone know the standard
> libs to include for general c++ usage (-lstdc++ -lmingw32) and winsock
> (-lwsock32) usage.
> I just want to make sure I'm linking in everything.
> Laslty, I just want to make sure my general approach is correct. When compiled,
> I removed the standard include dirs, and only included the mingw ones.
> Thanks all,
What is the exact command that you use to invoke gcc? Try compiling/linking
normally, but pass a -mno-cygwin flag to gcc.
|\ _,,,---,,_ firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ email@example.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html