This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Newby C++ lib problem
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Lorin Lund <wbs at infowest dot com>
- Cc: cygwin at cygwin dot com
- Date: Tue, 11 Mar 2003 12:46:36 -0500 (EST)
- Subject: Re: Newby C++ lib problem
- Reply-to: cygwin at cygwin dot com
At a guess (which is the best you can hope for with the little information
provided), use "g++" to compile C++ programs, not "gcc".
If that doesn't help, please post the *exact* command line you use to
compile your program, the program itself (if possible and if it's small),
and the output of "cygcheck -svr" as an attachment (as per
<http://cygwin.com/bugs.html>).
Igor
On Tue, 11 Mar 2003, Lorin Lund wrote:
> I suppose I need to mention some library to satisfy these unresolved
> references:
>
> str.o(.text+0x168c):str.cpp: undefined reference to `operator
> new[](unsigned)'
> str.o(.text+0x16d3):str.cpp: undefined reference to `operator delete(void*)'
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha at cs dot nyu dot edu
ZZZzz /,`.-'`' -. ;-;;,_ igor at watson dot ibm dot com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
-- /usr/games/fortune
--
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/