[fpc-pascal] Compilation error in crosscompiling lNet to arm-linux
Torsten Bonde Christiansen
tc at epidata.dk
Sun Nov 20 21:41:40 CET 2011
On 2011-11-20 21:36, Jonas Maebe wrote:
> On 20 Nov 2011, at 21:30, Torsten Bonde Christiansen wrote:
>
>> I get the following error when crosscompiling lNet to arm-linux.
>>
>> $ fpc -MObjFPC -Sgim -CX -O2 -Parm -gs -gl -vew -l -Fi../lib/sys -Fu../lib -Fu. -FUlib/arm-linux/ -dLNET_BASE -fPIC lnetbase.pas
>> Free Pascal Compiler version 2.4.4 [2011/11/14] for arm
>> Copyright (c) 1993-2010 by Florian Klaempfl
>> Target OS: Linux for ARMEL
>> Compiling lnetbase.pas
>> Compiling /home/torsten/FreePascal/lnet/lib/lnet.pp
>> Compiling /home/torsten/FreePascal/lnet/lib/levents.pp
>> Compiling /home/torsten/FreePascal/lnet/lib/lcommon.pp
>> *lcommon.pp(370,13) Fatal: Internal error 200502052*
>> Fatal: Compilation aborted
>> Error: /usr/bin/ppcrossarm returned an error exitcode (normal if you did not specify a source file to be compiled)
>>
>> Is this a bug in the compiler?
> It's a missing feature. The problem is that you are trying to generate PIC ARM code, which is not yet implemented/supported.
>
Is it going to be in 2.6. Perhaps in trunk?
-Torsten.
More information about the fpc-pascal
mailing list