delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/11/00:38:11

From: medwards AT onramp DOT net (Mark Edwards)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: More compiler problems
Date: Thu, 10 Oct 1996 23:53:18 GMT
Organization: In my dreams
Lines: 26
Message-ID: <53k2qt$k47@news.onramp.net>
References: <1996Oct10 DOT 005737 DOT 147622 AT forest>
Reply-To: medwards AT onramp DOT net
NNTP-Posting-Host: stockyard53.onramp.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

ebromber AT forest DOT drew DOT edu wrote:

>I wrote a small program that prints TEST to the screen to test if the 
>compiler was working. Unfortunately, there were two error messages 
>displayed when i tried to compile the file. Below is a copy of the program 
>and the two error messages. I have also posted the results of typing set 
>>environ.lst at the dos prompt as well as my autoexec.bat file. Any help 
>is greatly appreciated.

[snip]

>Two error messages after typing gcc test.cc
>test.cc(.text+0x16)undefined reference to 'cout'
>test.cc(.text+0x1b)undefined reference to 'ostream::operator <<(char const 

command line should invoke gxx instead of gcc.



Mark Edwards
------------
Respect your Elders, for they can grind you to *dust*
------------
Any email, judged by me, to be of a commercial nature,
will be reviewed and billed at a rate of $500 per item.

- Raw text -


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