john8 - 2006-12-20

I am new to dev-c++, and tried to compile one of the files in the gdb folder to test how to compile, figuring the file would compile seeing it is already a part of the gdb-6.6 release, I get the above error. Here is the whole log, and the .c file.

Executing gcc.exe...
gcc.exe "C:\Dev-Cpp\gdb-6.6\bfd\aout0.c" -o "C:\Dev-Cpp\gdb-6.6\bfd\aout0.exe" -I"C:\Dev-Cpp\include" -L"C:\Dev-Cpp\lib"
cc1: error: unrecognized command line option "-lang-c"

Execution terminated

define TARGETNAME "a.out-zero-big"

/ Do not "beautify" the CONCAT macro args. Traditional C will not
remove whitespace added here, and thus will fail to concatenate
the tokens. */

define MY(OP) CONCAT2 (aout0_big_,OP)

include "bfd.h"

define MY_exec_hdr_flags 0

#define MACHTYPE_OK(mtype) \
((mtype) == M_UNKNOWN || (mtype) == M_68010 || (mtype) == M_68020)

/ Include the usual a.out support. /

include "aoutf1.h"

I have tried several .c files, with the include statements,etc, and still get this error "unrecognized command line option "lang-c"" It seems the cc1.exe is the cause since it is always the error shown in the log.
thanks; john8