Mail Archives: djgpp/1999/08/24/06:24:26
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 -