Been checking out various Linux's today, and being like a user. One issue is you must be running the ARMbasic compiler version 9.51 which compensates for some of the differences between the BASIC pre-processor on Windows and the gpp (generic preprocessor) in Linux
So far I have checked out
- Pop! OS
- centOS 8 stream
- Tails ??
- Ubuntu LTS
Tails basically runs on USB, the installer overwrites everything, then can't boot. Solus, I couldn't get a USB bootable image (tried numerous times). I couldn't get very far with BlackArch.
For the most part most distros look similar. openSUSE, Deepin and elementary have prettier backgrounds. MX has some novel features in its background.
If there is a popular one I missed let me know, if it's Arch and you find a problem you will have to ship me a pre-installed system on a SATA drive.
OK need to figure out how to tell Linuxes apart with /etc/issue that report Kernal, not very descriptive so I added a one-time popup prompt in BASICtools.tcl . And after trying that out; there is a better way. That has been added into BASICtools. Also started a BT.sh shell script so it can be launched without typing, though this seems to be highly variable among the different distros.
One patch added from a tester. The launch of Edit in the menu needed an & otherwise it would wait for the editor to close. I missed it as I had the editor already open when tried. That has been updated in the links in previous posts.
Wish is often part of the tk install, ie. on Manjaro it was. If it is not... (pamac, yum, apt install, apt-get install depending on which Linux)
sudo apt-get install tk
You also need to install the generic pre-processor gpp --
sudo apt-get install gpp // some systems completely install gpp, others you need to download and do the following sudo apt-get install make // sometimes required -- if your system doesn't have make (at least one case of this) cd Downloads/gpp-*** sudo ./configure && make && make install
if it fails to generate gpp in the src directory
sudo ./configure --disable-dependency-tracking && make && make install // sometimes that fails to install, so manually do it cd src sudo cp gpp /usr/bin/ .
So far all systems needed
sudo chmod 777 /dev/ttyACM0 // sometimes /dev/ttyUSB0
but not all needed
sudo adduser <user> dialout
On Fedora it was --
# Fedora -- equivalent to adduser sudo usermod -a -G dialout <username> # then logout and log back in
If you have a different Linux, chances are it is a derivative of one of the above. BASICtools tries the 2 pre-compiled versions of ARMbasic, so far that covers all the distros tried, but if both fail it puts up an error and asks you to contact Coridium and we will try to take a look.
Not all Linux installers play nice with other installations, mainly breaking booting. Lots of old pages about installing multiple OSes, but all you need are gparted and grub-customizer. I'm using balenaEtcher to build a USB boot.
If there were a way to tell what the default text editor on a system is, this would be more automatic. Nano -- it's there, but NOT.
Are some of these mirrors in Tinbuktu? Seem slow for many installs.
Note to myself
Some of these installers do not play well together, centOS failed to boot after installing other things, after trying to restore centOS it nukes some other installations.
Another note to me --(building ARMbasic)
sudo apt install gcc sudo apt install gcc-multilib gcc -DLINUX -m32 winBASIC.c -lm cp a.out ../Coridium/ARMbasic.whatever