On OS X in the terminal you can type: sysctl hw.machine and it will display the machine architecture.
I don’t use the shell commands much but it looks like you can get the info without compiling code by using the code below. on mouseUp put shell( "sysctl hw.machine" ) into pData put pData end mouseUp JB > On Aug 30, 2019, at 8:41 PM, Devin Asay via use-livecode > <use-livecode@lists.runrev.com> wrote: > > On Aug 30, 2019, at 9:10 PM, Mark Wieder via use-livecode > <use-livecode@lists.runrev.com> wrote: >> >>> On 8/30/19 12:22 PM, Devin Asay via use-livecode wrote: >>> >>> Now that we can build both 32 and 64 bit applications for Windows, it’s >>> important to be able to tell whether the host OS is 32 or 64 bit. >> >> Why? If the 64-bit application won't run on the 32-bit system you won't get >> as far as your scripted test. Am I missing something? > > No, I’m just toying with the idea of having a 32-bit launcher that would > examine the host OS, then launch the proper executable based on whether it is > 32 or 64 bit. Sort of like a poor man’s universal app like we used to create > for MacOS. It’s possible I’m use way overthinking this. > > -D > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode