[fpc-pascal] Re: Wince_arm: the naive approach

Reinier Olislagers reinierolislagers at gmail.com
Sun Aug 4 10:34:09 CEST 2013


On 03/08/2013 23:28, Florian Klämpfl wrote:
> Am 03.08.2013 17:31, schrieb Reinier Olislagers:
> Try the binutils I collect here (arm-wince-* is build from binutils 2.22):
> http://svn2.freepascal.org/svn/fpcbuild/binaries/i386-win32/ (please do
> not use svn.freepascal.org for this repository for speed reasons).
Thanks a lot, I did.
... and that seems to solve it:
fpcup --only=fpc --cputarget=arm --ostarget=wince
works nicely :)

When I compile a sample project using Lazarus with target OS wince
target CPU arm I get [1]... I'm (perversely) hoping these are general
problems with ARM and not just my setup.

>> ... and the compiler seems to hang there.
>>
>> I wonder if an expert could tell me straight off what I'm doing wrong ;)
> 
> What source tree do you use? Trunk? Works here

Yes, trunk.

[1]
Free Pascal Compiler version 2.7.1 [2013/08/04] for arm
..
Target OS: WinCE for ARM
..
Assembling themes
C:\development\lazarus\lcl\include\graphic.inc(155,66) Error:
Incompatible type for arg no. 3: Got "PChar", expected "PWideChar"
C:\development\lazarus\lcl\include\graphic.inc(171,62) Error:
Incompatible type for arg no. 3: Got "PChar", expected "PWideChar"
C:\development\lazarus\lcl\include\custombitmap.inc(510,13) Error:
Incompatible types: got "PWideChar" expected "PChar"
..
C:\development\lazarus\lcl\include\icon.inc(1336,13) Error: Incompatible
types: got "PWideChar" expected "PChar"
C:\development\lazarus\lcl\include\cursorimage.inc(55,13) Error:
Incompatible types: got "PWideChar" expected "PChar"
C:\development\lazarus\lcl\graphics.pp(2812) Fatal: There were 5 errors
compiling module, stopping




More information about the fpc-pascal mailing list