Support for ARM-Linux

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Marc56us
Addict
Addict
Posts: 1600
Joined: Sat Feb 08, 2014 3:26 pm

Re: Support for ARM-Linux

Post by Marc56us »

Great :D
PB is and will soon be everywhere. Soon the PB IDE in a watch :P
Bitblazer
Enthusiast
Enthusiast
Posts: 761
Joined: Mon Apr 10, 2017 6:17 pm
Location: Germany
Contact:

Re: Support for ARM-Linux

Post by Bitblazer »

Very cool, but sadly the N900 hardware is a bit outdated in 2022 ;) But you got me wondering if a F(x)tec Pro1 is an option.
User avatar
macros
User
User
Posts: 88
Joined: Wed Mar 15, 2006 1:47 pm
Location: Munich

Re: Support for ARM-Linux

Post by macros »

Bitblazer wrote: Wed Feb 09, 2022 11:45 am ... if a F(x)tec Pro1 is an option.
Well give it a few months and mine will arrive (or so I hope), I pre-ordered in the original campaign :D

Of course I will post an update here!

Besides he vastly faster processor and some useful keys like TAB it has one big disadvantage however:
A capacitive touchscreen. The N900 has a resistive one and with the included stylus I can easily hit the tiniest buttons.
Also there is no mainline Linux for it yet, so I will have to resort to chroot solutions again.
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Support for ARM-Linux

Post by Fred »

I uploaded again a new build which should fix the 3D engine issue.
User avatar
mk-soft
Always Here
Always Here
Posts: 6202
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Support for ARM-Linux

Post by mk-soft »

Hello Fred,

is it possible for you to compile an Arm64 version? So we could also test a 64 bit version before the release. I would also donate a Raspberry Pi 4(400).

There is now also an official version for 64 bit from Raspberry.
Link: https://www.raspberrypi.com/software/operating-systems/
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Support for ARM-Linux

Post by Fred »

I ordered a PI 4, but there is some delay. Once I get it, I will try to build an ARM64 version. Thanks for your offer BTW !
User avatar
Tenaja
Addict
Addict
Posts: 1959
Joined: Tue Nov 09, 2010 10:15 pm

Re: Support for ARM-Linux

Post by Tenaja »

Fred wrote: Thu Feb 10, 2022 10:59 am I ordered a PI 4, but there is some delay. Once I get it, I will try to build an ARM64 version. Thanks for your offer BTW !
Uh oh, now Fred is going to be distracted by his new toy! We are doomed!

The raspberry pi is a deep rabbit hole with no return!

😥
User avatar
mk-soft
Always Here
Always Here
Posts: 6202
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Support for ARM-Linux

Post by mk-soft »

Fred wrote: Thu Feb 10, 2022 10:59 am I ordered a PI 4, but there is some delay. Once I get it, I will try to build an ARM64 version. Thanks for your offer BTW !
This is good news :D
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User_Russian
Addict
Addict
Posts: 1517
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

Re: Support for ARM-Linux

Post by User_Russian »

Fred wrote: Thu Feb 10, 2022 10:28 am I uploaded again a new build which should fix the 3D engine issue.
Does not work 3D examples.
This code returns 0.

Code: Select all

Debug OpenLibrary(0, #PB_Compiler_Home+"compilers/engine3d.so")
At the same time, the similar code for libmariadb.so works fine (returns not 0).
When compiling this code

Code: Select all

Import #PB_Compiler_Home+"compilers/engine3d.so"
EndImport
an error is displayed
Image
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Support for ARM-Linux

Post by Fred »

I will try to link statically the libc++ as well.
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Support for ARM-Linux

Post by Fred »

I updated the raspberry package with static link for engine3d.so, should solve the issue.
User_Russian
Addict
Addict
Posts: 1517
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

Re: Support for ARM-Linux

Post by User_Russian »

Now 3D works fine.
Thanks.
Bitblazer
Enthusiast
Enthusiast
Posts: 761
Joined: Mon Apr 10, 2017 6:17 pm
Location: Germany
Contact:

Re: Support for ARM-Linux

Post by Bitblazer »

Just a little tip for those who don't want to spend 700+ $ to buy a new smartphone with keyboard, but still would like to "hack away" on their existing smartphone with the upcoming PB 6 : get a foldable keyboard and connect it via bluetooth :D
User avatar
Caronte3D
Addict
Addict
Posts: 1355
Joined: Fri Jan 22, 2016 5:33 pm
Location: Some Universe

Re: Support for ARM-Linux

Post by Caronte3D »

Bitblazer wrote: Fri Feb 11, 2022 6:54 pm Just a little tip for those who don't want to spend 700+ $ to buy a new smartphone with keyboard, but still would like to "hack away" on their existing smartphone with the upcoming PB 6 : get a foldable keyboard and connect it via bluetooth :D
What does PB 6 have to do with a smartphone? :?
User avatar
mk-soft
Always Here
Always Here
Posts: 6202
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Support for ARM-Linux

Post by mk-soft »

Smart phones with linux base os (not android)

Link: https://www.purebasic.fr/english/viewto ... 05#p580305
Last edited by mk-soft on Sat Feb 12, 2022 3:18 am, edited 1 time in total.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Post Reply