delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/08/17:10:36

From: "Christian Kastner" <ck AT netway DOT at>
Newsgroups: comp.os.msdos.djgpp
Subject: Beginner question
Date: Tue, 8 Jun 1999 22:12:09 +0200
Organization: NETWAY AG
Lines: 20
Message-ID: <7jjtkc$4ts$1@news.netway.at>
NNTP-Posting-Host: t1p004.at-7582.netway.at
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I would like to know if somebody could help me with this problem:

I always run the "Hello World" program to test a compiler I just installed,
but in DJGPP's case, I can't compile it, the compiler always says

C:\WIN\TEMP\cccydbbl(.text+0x15):hello.cpp:undefined reference to 'cout'
C:\WIN\TEMP\cccydbbl(.text+0x1a):hello.cpp:undefined reference to
'ostream::operator<<(char const *)'

The program works with the Symantec-C++-Compiler, so I guess I goofed up the
installation somewhere allthough I did it according to the readme-file.

I would also like to know which compiler you guys would prefer, Symantec or
GCC.

    Thanks!

        Chris


- Raw text -


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