Re: Conditional compile if 64-bit cpu, in .xs ?
- From: Peter Billam <peter@xxxxxxxxxxxxxxxxxxxx>
- Date: 29 Aug 2006 15:14:18 +1100
On 2006-08-29, Sisyphus <sisyphus1@xxxxxxxxxxxxxxxxx> wrote:
"Peter Billam" <peter@xxxxxxxxxxxxxxxxxxxx> wrote:
Presumably in this case I'd be looking for $Config{use64bitint} ?
I think you can configure a perl with 'use64bitint' on a 32-bit
architecture iff the compiler supports the 'long long' type.
Maybe that doesn't matter wrt what you're trying to do (though
your original post specified 64-bit architectures) ....
Ah, that's just because it was the obvious common factor in where
the test failures had occurred; no informed judgement was involved.
or maybe there's a need to also check $Config{longsize} ...
I went with longsize, because the offending variables are defined as
unsigned long, and because then if I test $Config{longsize} ne '4'
hopefully it will deal with 128-bit and 256-bit machines too.
Crypt-Tea_JS-2.19.tar.gz seems to work perfectly, and is about to hit
the mirrors :-)
Thanks again for your help, Regards, Peter
--
AUS/TAS/DPIW/CIT/Servers hbt/lnd/l8 6233 3061 http://www.pjb.com.au
Pasaré, pasarémos dice el agua y canta la verdad contra la piedra
-- Pablo Neruda
.
- References:
- Conditional compile if 64-bit cpu, in .xs ?
- From: Peter Billam
- Re: Conditional compile if 64-bit cpu, in .xs ?
- From: Ilya Zakharevich
- Re: Conditional compile if 64-bit cpu, in .xs ?
- From: Peter Billam
- Re: Conditional compile if 64-bit cpu, in .xs ?
- From: Sisyphus
- Conditional compile if 64-bit cpu, in .xs ?
- Prev by Date: Re: Conditional compile if 64-bit cpu, in .xs ?
- Next by Date: Re: Conditional compile if 64-bit cpu, in .xs ?
- Previous by thread: Re: Conditional compile if 64-bit cpu, in .xs ?
- Next by thread: Re: Conditional compile if 64-bit cpu, in .xs ?
- Index(es):