From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: Compiling as C & not C++? Date: Tue, 20 May 1997 18:54:17 +0000 Organization: Two pounds of chaos and a pinch of salt Lines: 15 Message-ID: <3381F359.2F1C@cs.com> References: <01bc64bc$160e5ac0$69e22499 AT syntaxlogic DOT earthlink DOT net> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp106.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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. Make sure you're invoking gcc with lowercase filenames. To gcc, "HELLO.C" is a C++ program, while "hello.c" is a C program. Be careful! -- --------------------------------------------------------------------- | John M. Aldrich, aka Fighteer I | mailto:fighteer AT cs DOT com | | Proud owner of what might one | http://www.cs.com/fighteer | | day be a spectacular MUD... | Plan: To make Bill Gates suffer | ---------------------------------------------------------------------