Page 1 of 1

Ubuntu 20.04.2 ARM64

Posted: Sat Jun 25, 2022 4:37 pm
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"...

Re: Ubuntu 20.04.2 ARM64

Posted: Sat Jun 25, 2022 7:05 pm
by mk-soft
Use the Raspberry Arm64 version of Purebasic. Should not only run on Raspberry;)

Give some feedback on how it runs ...

Re: Ubuntu 20.04.2 ARM64

Posted: Sun Jun 26, 2022 8:19 am
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?

Re: Ubuntu 20.04.2 ARM64

Posted: Sun Jun 26, 2022 10:42 am
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).