delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/01/05:06:35

From: "Nathaniel" <nathaniel37 AT yahoo DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <04f8c8ac DOT a5fe2354 AT usw-ex0103-024 DOT remarq DOT com>
Subject: Re: something fishy!
Date: Fri, 31 Mar 2000 13:12:12 -0800
Lines: 63
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
NNTP-Posting-Host: ppp-207-151-70-193.dialup.pcmagic.net
Message-ID: <38e5151e@news-in.pcmagic.net>
X-Trace: 31 Mar 2000 13:14:06 -0800, ppp-207-151-70-193.dialup.pcmagic.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I'm not sure it it'll work... but are u compiling with gpp?  or gcc?
gpp is used for c++ programs...


nathaniel37 AT yahoo DOT com

Reeze <northNOnoSPAM AT iname DOT com DOT invalid> wrote in message
news:04f8c8ac DOT a5fe2354 AT usw-ex0103-024 DOT remarq DOT com...
> Gahhh!!!!!!
> What is wrong with my DJGPP c++ setup when a simple code as this:
> ----------
> #include<iostream.h>
>
> int main()
> {
>  cout << "Hello, world!" << endl;
> }
> -----------
> result in error messages as this:
>
> c:/djgpp/lib/libstdcx.a(stdiostream.o)
> (.text+0x4f):stdiostream.cc: undefined ref
> erence to `__throw'
> c:/djgpp/lib/libstdcx.a(stdiostream.o)
> (.text+0x55):stdiostream.cc: undefined ref
> erence to `terminate(void)'
> c:/djgpp/lib/libstdcx.a(stdiostream.o)
> (.text+0x4ad):stdiostream.cc: undefined re
> ference to `__eh_pc'
> c:/djgpp/lib/libstdcx.a(stdiostream.o)
> (.text+0x4b6):stdiostream.cc: undefined re
> ference to `__throw'
> c:/djgpp/lib/libstdcx.a(stdiostream.o)
> (.text+0x4bd):stdiostream.cc: undefined re
> ference to `terminate(void)'
> c:/djgpp/lib/libstdcx.a(stdiostream.o)
> (.text+0x509):stdiostream.cc: undefined re
> ference to `__rtti_class'
> c:/djgpp/lib/libstdcx.a(stdiostream.o)
> (.text+0x7d1):stdiostream.cc: undefined re
> ference to `__eh_pc'
> c:/djgpp/lib/libstdcx.a(stdiostream.o)
> (.text+0x7da):stdiostream.cc: undefined re
> ference to `__throw'
> c:/djgpp/lib/libstdcx.a(stdiostream.o)
> (.text+0x7e1):stdiostream.cc: undefined re
> ference to `terminate(void)'
> c:/djgpp/lib/libstdcx.a(stdiostream.o)
> (.text+0x82d):stdiostream.cc: undefined re
> ference to `__rtti_class'
> c:/djgpp/lib/libstdcx.a(stdiostream.o)
> (.text+0x96f):stdiostream.cc: undefined re
> ference to `__rtti_si'
>
> ????????????????????
>
>
> * Sent from RemarQ http://www.remarq.com The Internet's Discussion Network
*
> The fastest and easiest way to search and participate in Usenet - Free!
>


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019