From: "Peter Lewerin" Newsgroups: comp.os.msdos.djgpp Subject: Re: Compiling as C & not C++? Date: 20 May 1997 20:17:31 GMT Organization: A customer of Tele2 Lines: 16 Message-ID: <01bc655a$e9bd71a0$4073f482@peterlew> References: <01bc64bc$160e5ac0$69e22499 AT syntaxlogic DOT earthlink DOT net> NNTP-Posting-Host: mn8.swip.net Cache-Post-Path: mn8!unknown AT dialup115-4-4 DOT swipnet DOT se To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Alex Kain skrev i inlägg <01bc64bc$160e5ac0$69e22499 AT syntaxlogic DOT earthlink DOT net>... > How do you configure DJGPP to compile code as C code and not as C++ code If your source code files are called .cc (or .cpp), just rename them to *.c and they will be compiled as C code. You can also use the option -x c. If you have installed the Info reader, you can read the documentation if you give this command: info gcc invo over and scroll down a couple of screens.