sweh wrote:Don't create binary objects directly; output as a translated language (e.g. C or GOlang) and use native compilers that come with the OS.
That doesn't help me, because of course BBC BASIC is interpreted. It can't be "translated" into a compiled language (if BBC BASIC could be accurately, fully and reliably translated into C, it would make all sorts of things possible which aren't currently). The closest that anybody has come to achieving that, as far as I know, is Robert Smallshire's Owl BASIC
(he was attempting to translate BBC BASIC into .NET CLR bytecode, but the principle is the same) but that never got very far.
I'm OK for Mac OS, I think, because I can create a 'universal' 32-bit binary application (in the form of a .dmg file). The only complication is that an app ought ideally to be signed, so I may need to provide some mechanism for the user to enter details of his Code Signing Certificate (if he has one). Linux is the more difficult case, and at the moment I'm thinking I will just create a ZIP file with the necessary components in it; the end-user will have to install the SDL libraries (using apt-get or the equivalent for his flavour of Linux) manually.
I'm spoilt by Windows, where it's trivial (I can create a universal, self contained, PE file which will run on all versions of Windows from 95 to 10!).