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
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to