#1 2023-06-01 00:18:43

htits2008
Member
Registered: 2015-03-25
Posts: 34

How to compile to aarch64 Linux ?

In the new stable version, I found that there are static files with the aarch64 Linux directory. Does this support cross compiling to this situation in the new version?

I attempted to compile under CodeTyphon under Win64 and encountered an error while linking. Master, can you tell me the relevant solutions?
follow the res file

stripped

Last edited by htits2008 (2023-06-01 00:19:40)

Offline

#2 2023-06-01 00:34:40

htits2008
Member
Registered: 2015-03-25
Posts: 34

Re: How to compile to aarch64 Linux ?

I try some sample in ex.  And the httpServerRaw is passed . It can runing in aarch64 linux os. Other servers are say "error while linking".

Offline

#3 2023-06-01 20:04:59

mdoyle
Member
Registered: 2020-11-29
Posts: 25

Re: How to compile to aarch64 Linux ?

I have been using mORMot 2 on aarch64 for awhile without any issues. Runs on small devices like a Raspberry, a Mac M1 with a virtual machine or in the cloud. Please search the forum for arm or aarch64.
I have no experience with CodeTyphon. I use Lazarus/FreePascal compiling native or cross compiling from Linux x86_64. The mormot2tests run just fine.

Offline

#4 2023-06-05 07:46:00

htits2008
Member
Registered: 2015-03-25
Posts: 34

Re: How to compile to aarch64 Linux ?

Thanks help!!!
Now , I have  install a IDE of Lazarus in aarch64 Linux.

Offline

#5 2023-06-05 07:55:07

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,661
Website

Re: How to compile to aarch64 Linux ?

Sounds like a CodeTyphon issue: some libraries may be missing in the cross-compiler environment.

Use FpcUpDeluxe instead, as we do - and it is more respectful to code copyright (e.g. the ORCA issue in CodeTyphon).

Offline

Board footer

Powered by FluxBB