www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/24/06:24:26

Date: Tue, 24 Aug 1999 11:04:52 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
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: <Pine.SUN.3.91.990824110206.12112a-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019