WinCE-cpuarm compilation problem {$asmmode GAS}
Lazarus-0.9.19-fpc-2.1.1-20061018-win32.exe - Installed (default paths)
New Project
Project->Compiler options
1. LCL widget typr: wince
2. target OS: WinCE
3. target CPU: arm
Environment \ Compiler Options
Compiler path (not changed): c:\lazarus\fpc\2.1.1\bin\i386-win32\ppc386.exe
Ctrl+F9
C:\lazarus\fpc\2.1.1\source\rtl\inc\system.inc(80,4) Fatal: Can't open include file "i386.inc"
Added to c:\lazarus\fpc\2.1.1\source\rtl\inc\system.inc (Line 1-5)
{$ifdef wince}
{$define arm}
{$define cpuarm}
{$undef cpui386}
{$endif cpuarm}
Ctrl+F9
C:\lazarus\fpc\2.1.1\source\rtl\arm\arm.inc(18,2) Error: Illegal assembler style specified "GAS"
in the line: {$asmmode GAS}
later when open the progect I det a messageBox (mbError)
"The system.ppu was not found in the FPC dirrectory.Make sure fpc is installed correctly and the fpc.cfg points to the right directory"
In the case of
LCL widget typr: win32
target OS: Win32
target CPU: i386
everything is OK (no messages with the "The system.ppu was not found...", build, run)