Lazarus

Programming => General => Topic started by: senglit on June 22, 2021, 05:46:08 am

Title: How to set project option for ubantu-arm
Post by: senglit on June 22, 2021, 05:46:08 am
Hi all,

I got a very simple question. I use lazarus 2.0.10 on win10 to develop a project which will run on ubuntu core 16.04 for arm. I set project option as:
1. Target OS: Linux
2. Target CPU family: arm
3. Target processor: defualt

then I got a error: compiler .... x86_64-win64\fpc.exe does not support target arm-linux.

how to solve this problem?
Title: Re: How to set project option for ubantu-arm
Post by: Handoko on June 22, 2021, 07:25:33 am
Usually you need to setup the compiler to be able to cross compile to the target platform before you can use it.

I haven't tried on ARM target, but maybe this can help:
https://wiki.freepascal.org/Setup_Cross_Compile_For_ARM (https://wiki.freepascal.org/Setup_Cross_Compile_For_ARM)
TinyPortal © 2005-2018