[Lazarus] Linux 64 to Linux ARC crosscompile was:Lazarus and Windows 10 IoT

LacaK lacak at zoznam.sk
Wed Mar 29 11:37:35 CEST 2017


>> I am sure taht this question was already asked, but I can not find 
>> clear answer.
>>
>> Is there possibility to create Lazarus application with GUI which 
>> will run on Raspberi Pi - ARM - Windows 10 IoT ?
>> (Target OS=Win32, Target CPU=Arm ?)
>>
>> If not, is there possibility to create same application for Raspberi 
>> Pi - ARM - Linux ?
>> (Target OS=Linux, Target CPU=Arm ? ... can I crosscompile from 
>> Linux/i386 to Linux/Arm ?)
>
> The latter definitely should work.
Is there any tutorial how-to-do-it other than 
http://wiki.lazarus.freepascal.org/Setup_Cross_Compile_For_ARM ?

What I did is:
1. Install Ubuntu Linux 16.04 (64 bit) into VirtualBox on Windows
2. Install Lazarus for Linux (I can compile application for host platform)
3. Try install 
https://sourceforge.net/projects/freepascal/files/Linux/3.0.2/fpc-3.0.2.arm-linux-eabihf-raspberry.tar/download 
using supplied install.sh
(some errors were reported as: Syntax error: Word unexpected (expecting"(")
After step 3 I cannot run Lazarus (probably fp.cfg was corrupted)

-Laco.



More information about the Lazarus mailing list