Recent

Author Topic: How to set project option for ubantu-arm  (Read 1835 times)

senglit

  • Full Member
  • ***
  • Posts: 131
How to set project option for ubantu-arm
« 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?
I use Win10 + Lazarus 2.2.0 + FPC 3.2.2. All 64bit.

Handoko

  • Hero Member
  • *****
  • Posts: 5131
  • My goal: build my own game engine using Lazarus
Re: How to set project option for ubantu-arm
« Reply #1 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

 

TinyPortal © 2005-2018