Ubuntu 20.04.2 ARM64

Linux specific forum
wayne-c
Enthusiast
Enthusiast
Posts: 335
Joined: Tue Jun 08, 2004 10:29 am
Location: Zurich, Switzerland

Ubuntu 20.04.2 ARM64

Post by wayne-c »

Will PureBasic v6 run on Ubuntu 20.04.2 ARM64? I am trying to get it running with Parallels on my M1 MacBook and always getting the error "binary invalid"...
As you walk on by, Will you call my name? Or will you walk away?
User avatar
mk-soft
Always Here
Always Here
Posts: 5335
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Ubuntu 20.04.2 ARM64

Post by mk-soft »

Use the Raspberry Arm64 version of Purebasic. Should not only run on Raspberry;)

Give some feedback on how it runs ...
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
wayne-c
Enthusiast
Enthusiast
Posts: 335
Joined: Tue Jun 08, 2004 10:29 am
Location: Zurich, Switzerland

Re: Ubuntu 20.04.2 ARM64

Post by wayne-c »

Dear mk-soft

Yes, that worked now! Thank you!

But that raises a few more questions:

- wouldn't it make sense to have the following downloads available for Ubuntu?
Download PureBasic 6.00 LTS for Linux (Ubuntu 20.04 - x64)
Download PureBasic 6.00 LTS for Linux (Ubuntu 20.04 - arm64)

- when I compile to app will this app only run on arm64 or also on "regular" linux ubuntu?
As you walk on by, Will you call my name? Or will you walk away?
User avatar
mk-soft
Always Here
Always Here
Posts: 5335
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Ubuntu 20.04.2 ARM64

Post by mk-soft »

1. Fred writes on which system Purbasic was compiled. This does not mean that it is only for this version, but also tested on this system.

2. No, it does not run on normal Linux (x64) because the binary code is different.

3. On macOS (M1) you can still install both versions, because macOS (M1) interprets the x64 code (Rosette2). So you can compile two versions.

Therefore I still bought for too much money the Mac mini 2018 (Intel) to still have with Intel Windows XP / 7 / 10 and various Linux versions as VM.
For Arm32/64 I have a Raspberry PI 4 and a KVM switch (4K@60Hz).
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