Date: Tue, 24 Aug 1999 11:04:52 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: joergsimon DOT md AT gmx DOT de cc: djgpp AT delorie DOT com Subject: Re: gcc 2.7.2.1 calls cc1plus.exe instead cc1.exe In-Reply-To: <7psf16$o7j$1@nnrp1.deja.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 23 Aug 1999 joergsimon DOT md AT gmx DOT de wrote: > The command line for WIN NT is: > FTEE gcc.exe %b%e -c -v -H -O -g -Wall -o %r.o > %b%e stands for actuel working file with extension > (file).c > %r- name of Destination file The problem most probably is that the editor expands the file name in UPPERCASE. So GCC sees something like FILE.C, and the upper-case *.C extension is a sign of a C++ source to GCC. See section 8.4 of the DJGPP FAQ list for more details. If you cannot force your editor to down-case the file name, you could work around the problem by adding the -lang-c option to the GCC switches.