Mail Archives: djgpp/1997/12/08/00:35:19
Avallone wrote in message <01bd034e$2ad868c0$3551e0c7 AT javalon>...
>OK, I got DGJPP and I got the c++ libraries, and I've gone through the faq.
>What I can't figure out is how in the world I compile a c++ program.
>
>Will some one please email me the command line to acey2 AT juno DOT com
>
>Thanks
Could you be more specific? There are a few things to note:
1) Did you pick up gpp*b.zip (I think that's it)? The binaries
2) Does your source end in .C (capital), .cc, .cpp, .cxx?
3) Did you link in the C++ libraries (or use GXX instead of GCC)?
4) You can force GCC to use the C++ compiler by typing in
gcc -x c++ file.c
Other than that, if you can compile C, then you should have no problems.
- Raw text -