Re: How to find if the script is running on a 32-bit machine

2004-11-02 Thread Chasecreek Systemhouse
Aside from accessing tera-byte files or data structures the only other reason to have 64-bits is really BIG math =/ Trust me, I fully understand why Operating Systems need to be 64-bits or 128-bits -- However, why worry about 64-bit User-Land applications? I say we can worry about t

RE: How to find if the script is running on a 32-bit machine

2004-11-02 Thread Murphy, Ged (Bolton)
Chris Devers wrote: >> Can you not just run uname? >> >> $SystInfo = `uname -a` > >And then what? > >I'm writing this mail on a Powermac G5 -- nominally a 64-bit machine. > >$ uname -a >Darwin cesar 7.5.0 Darwin Kernel Version 7.5.0: Thu Aug 5 19:26:16 >PDT 2004; root:xnu/xnu-517.7.2

RE: How to find if the script is running on a 32-bit machine

2004-11-02 Thread Chris Devers
On Tue, 2 Nov 2004, Murphy, Ged (Bolton) wrote: > Ramprasad A Padmanabhan wrote: > > In a particular script , that is used on multiple unix platforms, I > > need to know if my perl script is being run on a 32 bit machine or a > > 64 bit machine > > > > Is there any way I can find this portably >

RE: How to find if the script is running on a 32-bit machine

2004-11-02 Thread Murphy, Ged (Bolton)
Ramprasad A Padmanabhan wrote: > In a particular script , that is used on multiple unix platforms, I > need to know if my perl script is being run on a 32 bit machine or a > 64 bit machine > > Is there any way I can find this portably Can you not just run uname? $SystInfo = `uname -a`

RE: How to find if the script is running on a 32-bit machine

2004-11-02 Thread Bob Showalter
Ramprasad A Padmanabhan wrote: > In a particular script , that is used on multiple unix platforms, I > need to know if my perl script is being run on a 32 bit machine or a > 64 bit machine Why? > > Is there any way I can find this portably This is just a guess, but would the Config parameter 'a

Re: How to find if the script is running on a 32-bit machine

2004-11-02 Thread Chasecreek Systemhouse
On Tue, 02 Nov 2004 16:28:50 +0530, Ramprasad A Padmanabhan <[EMAIL PROTECTED]> wrote: > Is there any way I can find this portably C code should be able to tell (Solaris example) #include #include #include static char chararray[] = "abcdefghijklmnopqrstuvwxyz"; static char *myfunc(int i) {

How to find if the script is running on a 32-bit machine

2004-11-02 Thread Ramprasad A Padmanabhan
In a particular script , that is used on multiple unix platforms, I need to know if my perl script is being run on a 32 bit machine or a 64 bit machine Is there any way I can find this portably Thanks Ram -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PR