I’m trying to write an installation script in sclang that should select 32-bit or 64-bit plugins, as the case may be. Is there any way of determining, from inside sclang, on which Windows sclang is running?
Also, is there any real benefit to running 64-bit, other than concurrency with many other large apps? I’ve noticed that sound card drivers such as those from RME are 32-bit, so maybe it is better to run SuperCollider as 32-bit, too?
But, I’ ve just realized: since 32-bit SuperCollider can run well on 64-bit Windows, I guess my question should have been: how can I determine the bitwidth of SuperCollider itself,
from inside sclang?
Thanks again! I found that “PROCESSOR_ARCHITECTURE”.getenv actually does return
“X86” when running 32-bit SuperCollider on 64-bit Windows! Problem solved! /Sten