www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/24/19:52:37

Xref: news2.mv.net comp.os.msdos.djgpp:3063
From: mcantos AT ocean DOT com DOT au (Marcelo Cantos)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: C++ compiling
Date: Wed, 24 Apr 96 07:16:15 GMT
Organization: (private)
Lines: 20
Message-ID: <4lko0c$6u8@news.mel.aone.net.au>
References: <199604221547 DOT BAA05718 AT linuxbox DOT nse DOT com DOT au>
NNTP-Posting-Host: 203.12.234.175
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <199604221547 DOT BAA05718 AT linuxbox DOT nse DOT com DOT au>, naderr AT topaz DOT cqu DOT edu DOT au wrote:
>I have a simple hellocpp.cc 
>
>#include <iostream.h>
>
>int main(void)
>{
>        cout << "Hello from a C++ program" << endl;
>        return (0);
>}
>
>and from the command line I try ...
>
>gcc hellocpp.cc -I\djgpp\lang\cxx hellocpp.cc -o hellocpp.exe
>
>Yet it fails to find those C++ header files that live in
>\djgpp\lang\cxx

Is hellocpp.cc on the same drive as djgpp? If so, try '... -Ic:\djgpp...'. 
Sorry, nothing else comes to mind.

- Raw text -


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