Is there a function/variable available which returns the cpu's bit size? (32 or 64 or some other value which indicates the cpu's bit size). I was thinking it would be in the tcl_platform(array) but it wasn't. My c++ is rusty and I thought it would be defined in <climit> or derivable from stuff in <climit> but I'd prefer to use tcl if possible and not make an external call.
I'm on unix operating systems (not windows) and I have a compiled program (test3264) which I don't have the source code for and I don't know the original language it was written in either. This program is only useful for the target operating system it is compiled for...so I would like to replace the test3264 with a program of my own -- in fact I have a linux machine that I am logged into that I need to know whether it is a 32-bit or 64-bit machine.
Thanks.
I'm on unix operating systems (not windows) and I have a compiled program (test3264) which I don't have the source code for and I don't know the original language it was written in either. This program is only useful for the target operating system it is compiled for...so I would like to replace the test3264 with a program of my own -- in fact I have a linux machine that I am logged into that I need to know whether it is a 32-bit or 64-bit machine.
Thanks.