From: "Carolyn Kelly-Pajot" References: <01bd034e$2ad868c0$3551e0c7 AT javalon> Subject: Re: Compiling c++ programs Date: Sun, 7 Dec 1997 19:29:48 -0500 Lines: 20 Message-ID: Newsgroups: comp.os.msdos.djgpp To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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.