home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!uwm.edu!ogicse!henson!news.u.washington.edu!nntp.uoregon.edu!inferno.uoregon.edu!nathan
- From: nathan@inferno.uoregon.edu (NathanD)
- Newsgroups: gnu.gcc.help
- Subject: ___new_handle undefined ???
- Message-ID: <1992Aug21.025615.25134@nntp.uoregon.edu>
- Date: 21 Aug 92 02:56:15 GMT
- Article-I.D.: nntp.1992Aug21.025615.25134
- Sender: news@nntp.uoregon.edu
- Organization: University of Oregon Network Services
- Lines: 15
- X-Newsreader: Tin 1.1 PL4
-
-
- I just downloaded an installed gcc 2.2.2. When I try to compile something
- that uses iostreams, the linker gives me:
-
- gcc:lib/libgcc.a(_builtin_new.o): Undefined symbol ___new_handler referenced
- from text segment
-
- My command line is: gcc main.cc -lg++ -lc
- and it seems to compile ok.
-
- Can someone help me? Do I just have a command line switch wrong? Or do I
- need to link in some other object module?
-
- Thanks,
- nathan
-