chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] Re: 1.12 on MacOS X


From: Dennis Marti
Subject: [Chicken-users] Re: 1.12 on MacOS X
Date: Mon, 30 Jun 2003 14:18:14 -0400

On Monday, June 30, 2003, at 07:20 AM, address@hidden wrote:

Brian Campbell asked:

Can anyone tell me what I need to do to fix this? Am I missing some
other required package, or what?

Felix replied:

Googling around for this, I stumbled over several occurrences of this
problem. Now, I don't have a 100% answer, so I recommend replacing
the line

extern char **environ;

in posix.scm with

char **environ;

You won't be able to use `current-environment', though, but I guess this
is not really crucial. Anyway, this is just a crude hack to get you
going.

Note that I had reports that building the dynamically linked version
of Chicken fails on Jaguar, a couple of months ago. So if this still
doesn't work (depending on OS and libtool version), you should configure
Chicken with "--disable-shared".

I just built chicken 1.12 on OS X with the --disable-shared config option. I manually changed the optimization from O3 to O2 because I'm convinced that speeds up the compile (my Mac is getting old and slow, like it's owner). No other edits were required to get chicken to build; although the package 5 test case fails.

My environment:

$ uname -v
Darwin Kernel Version 6.6: Thu May 1 21:48:54 PDT 2003; root:xnu/xnu-344.34.obj~1/RELEASE_PPC

(That's 10.2.6)

$ gcc --version
gcc (GCC) 3.1 20020420 (prerelease)

$ limit stacksize
stacksize       8MB


I'll look into these things more later. Right now I'm trying to finish up an entry for ICFP. Did anybody else on the list try it?

Dennis





reply via email to

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