|
Post by Chris Iverson on Apr 4, 2019 23:19:49 GMT -5
Right now, we have a Platform$ global variable, that will hold "win32" if LB5 is running on Windows, or "unix" if it's running on a unix-derived system(i.e. Linux). (Presumably, it would display some form of "mac os x" on Macs. I don't have one to test.)
I'd like to request that the Platform$ variable differentiate between running on ARM(Pi) or x86(standard PCs). While it's true both are running Linux, running on a completely different CPU architecture means some things would need to change when interacting with other parts of the system.
Right now, it's not needed, because (I believe) there's nothing that you can (currently) access in LB5 that's architecture-specific; any code that runs properly in LB5 on x86-Linux should behave the same in LB5 on ARM-Linux.
However, once we get features like calling external executables with RUN and (possibly) dynamic shared library support(saying nothing of Pi-specific features like GPIO access), being able to provide architecture-specific binaries with the program, and being able to invoke them properly, will become increasingly important.
|
|
|
Post by Carl Gundel on Apr 5, 2019 13:56:16 GMT -5
Right now, we have a Platform$ global variable, that will hold "win32" if LB5 is running on Windows, or "unix" if it's running on a unix-derived system(i.e. Linux). (Presumably, it would display some form of "mac os x" on Macs. I don't have one to test.) I'll take care of it.
|
|