Re: [AMBER-Developers] Automatically detecting 32 bit compiles in configure

From: Scott Brozell <sbrozell.rci.rutgers.edu>
Date: Thu, 11 Mar 2010 15:06:30 -0500

Hi,

Strangle two birdies with one lassoo -
use this as the C compiler test program.

scott

http://www.animal-rights.com/

On Thu, Mar 11, 2010 at 01:36:18PM -0500, Volodymyr Babin wrote:
> I have no idea, but do have a BSD machine around:
>
> $ uname -a
> OpenBSD planck.physics.ncsu.edu 4.1 GENERIC.MP#1225 i386
> $uname -ap
> OpenBSD planck.physics.ncsu.edu 4.1 GENERIC.MP#1225 i386 Intel Pentium III
> ("GenuineIntel" 686-class)
>
> Compile/run a short C-program that prints sizeof() of something relevant?
> Something like
>
> #include <stdio.h>
>
> int main()
> {
> printf ("%d\n", sizeof(void*));
> }

_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Thu Mar 11 2010 - 12:30:04 PST
Custom Search