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.21.obj~3/RELEASE_PPC  Power Macintosh
powerpc
>
>I don't see anything in there that gives away the fact that I'm on a 
>64-bit machine; for that matter, I don't see anything about the CPU.

I'm sat at a windows machine so couldn't test my theory (which is why my
answer was a question)
I had it in my head that uname -m returned hardware. (I only gave -a to make
sure)  e.g. 

$ 64bit> uname -m
x86_64
$ 32bit> uname -m
i686

Perhaps this is not true of Macs, or maybe I'm just getting mixed up with
something else




************************************************************************
The information contained in this message or any of its
attachments is confidential and is intended for the exclusive
use of the addressee. The information may also be legally
privileged. The views expressed may not be company policy,
but the personal views of the originator. If you are not the
addressee, any disclosure, reproduction, distribution or other
dissemination or use of this communication is strictly prohibited.
If you have received this message in error, please contact
[EMAIL PROTECTED] 
<mailto:[EMAIL PROTECTED]> and then delete this message. 

Exide Technologies is an industrial and transportation battery
producer and recycler with operations in 89 countries.
Further information can be found at www.exide.com



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>



Reply via email to