Forum > Embedded - ARM

Incase cross compiling from Win64 to ARM in FPC lazarus

(1/1)

pascalbythree:
Incase cross compiling from Win64 to ARM in FPC lazarus, some OS versions give a segmentation fault and some do not.

Is it permitted to install packages on your Raspberry ? Before you run the cross compiled executable? On Raspberry 3 ?

And what are they?

Thank you for your time, greets PascalByThree

TRon:

--- Quote from: pascalbythree on January 23, 2023, 06:43:26 pm ---Incase cross compiling from Win64 to ARM in FPC lazarus, some OS versions give a segmentation fault and some do not.

--- End quote ---
probably related to libraries hat are compiled against.


--- Quote ---Is it permitted to install packages on your Raspberry ?

--- End quote ---
Sure. A RPi just runs Linux as any other distribution (debian)


--- Quote ---Before you run the cross compiled executable? On Raspberry 3 ?

--- End quote ---
Sure, if you wish to do so. Or is the question can you do that programmatically ?


--- Quote ---And what are they?

--- End quote ---
Sorry, you lost me there. If your application requires 3th party packages then you are the one who should know which ones they are ?

dbannon:

--- Quote from: pascalbythree on January 23, 2023, 06:43:26 pm ---...
Is it permitted to install packages on your Raspberry ? Before you run the cross compiled executable? On Raspberry 3 ?
...

--- End quote ---
I suspect this may be a translation error and pascalbythree meant to say - "is it a requirement to install ..."

The answer is, again, depends. If your application is a GUI one for example targeting Linux on the Pi, its probably GTK2 based ? The newer versions of the Raspberry Pi Operating System does not have gtk2 installed by default, you do need install that.

If your OS on the Pi is the Windows one, something similar is possibly required, I have no idea what !

Davo

Navigation

[0] Message Index

Go to full version