[fpc-pascal] FPC_ARMEL system calls
Henry Vermaak
henry.vermaak at gmail.com
Mon Jun 2 20:59:25 CEST 2008
2008/6/2 Luca Olivetti <luca at ventoso.org>:
> En/na Luca Olivetti ha escrit:
>>
>> En/na Florian Klaempfl ha escrit:
>>
>>>>> How did you get the native start compiler?
>>>>
>>>> http://freepascal.org/down/arm/linux.var (it's 2.2.0)
>>>
>>> Well, this is the point :) This is not an armel compiler. You need to
>>> cross compile one first.
>>
>> Ok, I'll try. Thank you.
>
> I have the previously generated fpc 2.3.1 (non eabi) installed:
>
> [sbox-CHINOOK_ARMEL: ~/fpc-svn] > fpc -iD -iV -iSO -iSP -iTO -iTP
> 2008/06/01 2.3.1 linux arm linux arm
>
i think what florian means is that you have to use an eabi ppcarm as a
starting compiler if you'd like to compile fpc in your scratchbox. so
you'll have to create one by cross compiling from i386 or whatever
arch you're using.
so you'll have to make compiler_cycle CPU_TARGET=arm OPT="-dFPC_ARMEL"
bla bla bla, then copy the ppcarm to somewhere your scratchbox can see
it, then specify it as the starting compiler with make blablabla
FPC=/path/to/ppcarm
henry
More information about the fpc-pascal
mailing list