Message-ID: <349293FA.6EE9B263@gmx.net> Date: Sat, 13 Dec 1997 14:56:10 +0100 From: Robert Hoehne MIME-Version: 1.0 To: Tron CC: DJGPP Mailing list Subject: Re: [Q] newbie question... References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Tron schrieb: > > djgpp is a c++ compiler isnt??? how can i compile c file name.cpp with > gcc... > > like we do with c files > example: gcc -Wall -c name.c bla...bla...bla... > gcc -Wall -c name.cpp bla...bla...bla... gcc selects automatically the correct compiler to compile your source file by examining the suffix of your file. (gcc itself is _not_ a compiler, it is "simply" a driver program, which calls all the nedded compilers, assembler, linker ...) Additionally, or better FIRST, read the file README.1ST from the DJGPP distrib, where your question is answered. Robert -- ****************************************************** * email: Robert Hoehne * * Post: Am Berg 3, D-09573 Dittmannsdorf, Germany * * WWW: http://www.tu-chemnitz.de/~sho/rho * ******************************************************