Mail Archives: cygwin/2003/03/11/12:46:51
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/
- Raw text -