| delorie.com/archives/browse.cgi | search |
| Date: | Tue, 20 May 1997 18:10:58 +0300 (IDT) |
| From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
| To: | Alex Kain <syntaxlogic AT earthlink DOT net> |
| cc: | djgpp AT delorie DOT com |
| Subject: | Re: Compiling as C & not C++? |
| In-Reply-To: | <01bc64bc$160e5ac0$69e22499@syntaxlogic.earthlink.net> |
| Message-ID: | <Pine.SUN.3.91.970520180915.22684I-100000@is> |
| MIME-Version: | 1.0 |
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.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |