www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/24/07:52:14.1

From: "jj" <panzerking AT aol DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: I read section 8 of FAQ and still cannot find .h files
Lines: 21
X-Newsreader: Microsoft Outlook Express 4.72.3110.1
X-Mimeole: Produced By Microsoft MimeOLE V4.72.3110.3
Message-ID: <T6hU2.431$aW6.314@news.rdc2.occa.home.com>
Date: Sat, 24 Apr 1999 10:34:27 GMT
NNTP-Posting-Host: 24.5.36.57
X-Complaints-To: abuse AT home DOT net
X-Trace: news.rdc2.occa.home.com 924950067 24.5.36.57 (Sat, 24 Apr 1999 03:34:27 PDT)
NNTP-Posting-Date: Sat, 24 Apr 1999 03:34:27 PDT
Organization: @Home Network
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I downloaded the C++ libraries 3 times and unzipped them into the DJGPP
directory and I am still having trouble getting the compiler to work.

I get this message after attempting to compile a simple hello world program:

D:\DJGPP>gcc -o hello.exe hello.cpp
d:/djgpp/tmp\cccimutb(.text+0x11):hello.cpp: undefined reference to `cout'
d:/djgpp/tmp\cccimutb(.text+0x16):hello.cpp: undefined reference to
`ostream::o
erator<<(char const *)'

Am I using the wrong compiler (gcc, g++) or command line?  Can someone point
me in the right direction?  I did a filesearch with Windows and iostream.h
wasn't found.  I installed the C++ libraries 3 times now and have read
through most of the FAQs and Readme files.

Thanx in advance for any help

Jennifer


- Raw text -


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