[fpc-devel] Smarter way of generating ARMHF fpc trunk installation?

Reinier Olislagers reinierolislagers at gmail.com
Mon Mar 3 18:13:54 CET 2014


No. Compiler and source revisions must match.

On 3/3/14, Paul Breneman <Paul2006 at brenemanlabs.com> wrote:
> On 03/03/2014 03:24 AM, Reinier Olislagers wrote:
>> fpcup, an FPC/Lazarus build/installation/update program uses the
>> following steps on ARMHF Linux (e.g. raspbian, odroid):
>>
>> 1. Get FPC stable (2.6.2 currently) ARM bootstrap compiler binary
>> This compiler cannot directly build ARMHF FPC trunk.
>>
>> 2. Use the compiler to build a regular ARM fpc trunk compiler ("the
>> intermediate bootstrap" compiler... sorry, not that good at naming :) )
>>
>> make "FPC=/home/odroid/development/fpcbootstrap/arm-linux-ppcarm"
>> "--directory=/home/odroid/development/fpctrunk/compiler"
>> "CROSSOPT=-dFPC_ARMHF -Cparmv7a -CaEABIHF -CfVFPv3" "OPT=-dFPC_ARMHF"
>> "OS_TARGET=linux" "CPU_TARGET=arm" "OVERRIDEVERSIONCHECK=1" "cycle"
>>
>> 3. Use the generated compiler to build regular ARMHF FPC+RTL etc, as
>> well as Lazarus.
>>
>> Would there be a smarter/shorter way of doing this?
>>
>> Thanks,
>> Reinier
>
> Could the first part(s) be packaged into a small Free Pascal
> distribution, like the 3 zips on this page?
>    www.CtrlTerm.com
>
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
>



More information about the fpc-devel mailing list