Mail Archives: djgpp/1996/04/25/11:06:51
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
Try:
gcc -I/djgpp/lang/cxx -o hellocpp.exe hellocpp.cc
--
Art S. Kagel, kagel AT quasar DOT bloomberg DOT com
A proverb is no proverb to you 'till life has illustrated it. -- John Keats
- Raw text -