[fpc-pascal] FP IDE: Error: Illegal parameter: -Cp386

Bart bartjunk64 at gmail.com
Tue Jan 3 19:10:22 CET 2012


I recently updated to fpc 2.6.0
Now I cannot compile anything in the FP IDE (Version 1.0.12 2011/12/25).

Program test;

{$mode objfpc}
{$h+}

begin
end.

I try to build/make:
Error: Illegal parameter: -Cp386

This is the auto-generated fp.cfg file:

# Automatically created file, don't edit.
#IFDEF NORMAL
 -TWin32
 -Mfpc
 -Sg
 -Ci
 -O1
 -Cp80386
 -OpPENTIUM3
 -Ratt
 -FuC:\devel\fpc\units\i386-Win32
 -FuC:\devel\fpc\units\i386-Win32\*
 -FuC:\devel\fpc\units\i386-Win32\rtl
 -XS
 -g-
 -p-
 -b-

 -Cp386   <<<<----------------------
#ENDIF
[snip]

Should probably be -Cp80386?

Bart



More information about the fpc-pascal mailing list