chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Big Randoms


From: David N Murray
Subject: Re: [Chicken-users] Big Randoms
Date: Fri, 11 Mar 2011 09:55:41 -0500 (EST)

On Mar 10, Kon Lovett scribed:

>
> Hi David,
>
> I get the folllowing:
>
> $ csi -n
>
> CHICKEN
> (c)2008-2011 The Chicken Team
> (c)2000-2007 Felix L. Winkelmann
> Version 4.6.5
> macosx-unix-gnu-ppc [ manyargs dload ptables ]
> compiled 2011-02-03 on Nikko.local (Darwin)
>
[snip]
> #;3> (random-integer (expt 2 32))
> 3682515858.0
>
> but notice that this is Chicken 4.6.5 & I do not have 4.6.0 installed
> so I cannot try it.
>

Hi Kon,

CHICKEN
(c)2008-2011 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 4.6.5
macosx-unix-gnu-x86-64 [ 64bit manyargs dload ptables ]
compiled 2011-03-11 on sauron.local (Darwin)

#;1> (use srfi-27)
[snip loading...]
#;2> (random-integer (expt 2 32))
Floating point exception

Looking at the difference between your csi announcement and mine, I notice
that I'm building the 64bit version.  If I try the same thing on a 32-bit
build, I don't have the problem.

CHICKEN
(c)2008-2010 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 4.6.0
linux-unix-gnu-x86 [ manyargs dload ptables ]
compiled 2010-12-08 on fili.jsbsystems.com (Linux)

#;1> (use srfi-27)
[snip loadings...]
#;2> (random-integer (expt 2 32))
3682515858.0
#;3>

I'm building on OS X using the command
$ make PLATFORM=macosx ARCH=x86-64
If I try and build with
$ make PLATFORM=macosx
make -f ./Makefile.macosx CONFIG= all
gcc  -c apply-hack.x86.S -o apply-hack.x86.o
apply-hack.x86.S:35:suffix or operands invalid for `call'
make[1]: *** [apply-hack.x86.o] Error 1
make: *** [all] Error 2

Am I missing something?  I'm new to OS X (but lovin' it).

TIA,
Dave



reply via email to

[Prev in Thread] Current Thread [Next in Thread]