Date: Tue, 20 May 1997 18:10:58 +0300 (IDT) From: Eli Zaretskii To: Alex Kain cc: djgpp AT delorie DOT com Subject: Re: Compiling as C & not C++? In-Reply-To: <01bc64bc$160e5ac0$69e22499@syntaxlogic.earthlink.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On 20 May 1997, Alex Kain wrote: > How do you configure DJGPP to compile code as C code and not as C++ code if > the C++ files are already unzipped into the djgpp directory? I'm trying to > see if I can make a crpg executable smaller. Rename the files to be *.c instead of *.cc or *.cpp, or use "-x c" switch to GCC. Note that if there is genuine C++ code there, you will of course get compilation errors.