Forum > General

Lazarus on Cortex a53

<< < (2/4) > >>

superc:
ok , compiled a simple 'hello world' command line program with fpc 2.2.6: target CPU family AArch64 and linux for os.....
I don't understand why it works with this CPU target, so I'll try to do more tests and then report the result, thanks again.

TRon:

--- Quote from: superc on September 09, 2023, 01:53:17 pm ---I don't understand why it works with this CPU target, so I'll try to do more tests and then report the result, thanks again.

--- End quote ---
It seems like a stupid question but why do you not understand ?

aarch64 is arm 64-bit (Linux) and that is exactly what CPU your hardware has (ArmV8) and I assume the operating system that you have running is 64-bit (as well).

JuhaManninen:

--- Quote from: TRon on September 06, 2023, 08:25:04 pm ---The E edition comes with a max of 2Gb of memory which is about the amount of memory required to rebuild Lazarus (and your OS needs some of that 2Gb memory as well).

--- End quote ---
I remember people built and used Lazarus in Raspberry Pi with half a GB memory.
I personally still use an e-machines x86 mini-laptop with 1 GB memory and MX Linux. Lazarus builds without problems while Firefox browser is also open.
Swap partition is needed which can be slow indeed in a card computer.
Anyway the swapping algorithms of Linux are clever.

TRon:

--- Quote from: JuhaManninen on September 09, 2023, 09:27:49 pm ---I remember people built and used Lazarus in Raspberry Pi with half a GB memory.

--- End quote ---
Done so myself on a Pi 3B and 3B+ (though that has a whole GB)  :)

I am not in disagreement with what you wrote (it is possible) except that indeed when using a micro sd card it is a real PITA.

Also note that the memory hungry-ness (is that even a word ?  :) ) of a Lazarus rebuild has grown (and seem to be growing) by/for each new release. It was (relatively speaking) fine with 2.2.4 but grew extensively with 2.2.6 and practically undoable with 3.0RC1 (improvements seem to come with a price  :) ).

I would personally promote cross-compiling in/for such cases but also realize that it also depends on the actual (used) specifications (which afaik we currently do not know).

superc:

--- Quote from: TRon on September 09, 2023, 03:30:14 pm ---
--- Quote from: superc on September 09, 2023, 01:53:17 pm ---I don't understand why it works with this CPU target, so I'll try to do more tests and then report the result, thanks again.

--- End quote ---
It seems like a stupid question but why do you not understand ?

aarch64 is arm 64-bit (Linux) and that is exactly what CPU your hardware has (ArmV8) and I assume the operating system that you have running is 64-bit (as well).

--- End quote ---
Hello,
for the raspberry pi3 b+ I have to select (if I remember correctly) Arm as target cpu: this processor is an arm why should I select aarch64? I expected the settings to be the same as the RP but I tried and it doesn't work.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version