Jump to content
nighthawk2032

Delphi PAServer arm RPi compilation

Recommended Posts

Why isn't there a RPi linux ARM compilation yet? is there?

Are there any plans for that?

Edited by nighthawk2032

Share this post


Link to post

Thanks for the reply.

 

I didn't, yet, watch the full video (just portions of it) - I will fully watch that to understand more.

 

I did see this link before. Unfortunately, that doesn't seems to be 'true' Linux cross platform compilation.

It uses several RPi features, such as I2C - but these are embedded within different components,.

The solution seems to be Web oriented (even just by it's naming -- that is it's purpose).. not Linux 'true' Kernal compilation or GTK (for the GUI) use.

It doesn't enable any use of the wide FMX abilities... and has it's own limited components (AFAIK) to label information on a Web Form..

In addition I am not sure how widely (if at all) it'll enable me to link to the so called, compiled product any additional Linux .so libraries, for use.

But again, I don't know all the features of this solution, this is just a brief observation.


I fail to understand fully. why Cross compilation is available for Windows-ARM, MacOS, and Linux x64.. but isn't available yet for Linux-ARM.

 

Edited by nighthawk2032

Share this post


Link to post

Yeah, the first video is a web-based solution. I offered it in case it would interest you.

 

The second link is a blog but contains a couple of videos and even though it's about 5 years old, contains a lot of information about the plethora of small system-on-a-chip computers. IIRC, it touches on why it's there isn't native compilation for that platform yet.

 

As an alternative, you can put Android on a Raspberry Pi and then use Delphi to create an Android app deployed there. I've done it--and explain how in my book--and Jim McKeeth shows it in the video in that second link.

Share this post


Link to post

There are of course various ways to use an IoT device with Delphi, such as Windows-IoT ( https://docs.microsoft.com/en-us/windows/iot-core/windows-iot-core ) or various Android Rpi Solutions ( which I tried, as you did, previously, and compiled for this solution as if it was an Android device)... but both of these examples aren't Linux compilation. And it forces using different environment, instead of continuing with Linux, which is more commonly used, than these two.

 

The wide mature Linux environment enables running various servers on RPi, a proper Delphi Linux ARM compilation will enable extending these services and will be highly useful.

The wide libraries and solutions Linux IoT offers today, can not be compared to Android or Windows-ARM solution.

Edited by nighthawk2032

Share this post


Link to post

Thought about using Lazarus as well 🙂 cause it is completely cross-platformed.

But then, I won't have all the goodies of Delphi (FMX, Datasnap, ... etc) -- don't know if I am willing to drop all these just yet...

Edited by nighthawk2032

Share this post


Link to post

Cases such as using

 

FMX: to make a Kiosk alike station (for example)

or

Datasnap: to use it as console REST server

 

[these are the first two examples that pops to mind, not directly connected to RPi GPIO features or hardware extensions, you are defently right stating that, in some sense]

Edited by nighthawk2032

Share this post


Link to post

There are plenty of options for building a REST server on Lazarus. mORMot, for instance. Or built-in webserver.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×