On Monday, 11 August 2014 at 05:19:01 UTC, Jeremy DeHaan wrote:
I am looking at these versions as described here:
http://dlang.org/version.html
There are X86 and X86_64 version identifiers, but these
specifically mention that they are versions for the processor
type. Can they also be used to determine if the OS is running
in 32 vs 64 bits?
They mean what the integer(or pointer) size for the executable
code
generated(change able with -m(32|64)) is when compiled. If you
want to check if
the target OS(not your code) is running 32 vs 64 bit you have to
do system call for your target OS.