chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Problem OS X Snow Leopard installation/Compilation


From: Jim Ursetto
Subject: Re: [Chicken-users] Problem OS X Snow Leopard installation/Compilation
Date: Tue, 8 Mar 2011 12:12:29 -0600

Hi Francis,
The readme instructions you refer to are only to be used for *universal* 
builds, which are not possible on snow leopard.  Nor are they really desirable 
even on tiger or leopard unless you absolutely must support PPC and Intel in 
the same install.

Simply build normally without specifying universal arch or gcc-4.0:
  make PLATFORM=macosx

It may be necessary to add ARCH=x86-64 to this line, only if you are using a 
32-bit kernel and 64-bit userspace -- such as may occur with earlier Intel 
Macs. On fully 32 or 64 bit machines, that is not necessary.

Hope this helps,
Jim


On Mar 8, 2011, at 11:06, Francis Lavoie <address@hidden> wrote:

> Hi,
> 
> I had some problem installing chicken on my Macs(2) running Snow Leopard. I 
> read the wiki/README and search the mailing list without finding anything 
> that helps resolve the issue.
> 
> After some reading and try and error, I found a solution. Maybe someone here 
> can validate what I said and update the documentation to help others.
> 
> Problem :
> Can't compile, unable to find stdio.c and all the other basic library.
> 
> Solution :
> Don't use ARCH=universal specified in the documentation but instead 
> ARCHFLAGS='-arch x86_64'
> 
> ex :
> make C_COMPILER=gcc-4.0 PLATFORM=macosx ARCHFLAGS='-arch x86_64'
> sudo make C_COMPILER=gcc-4.0 PLATFORM=macosx ARCHFLAGS='-arch x86_64' install
> 
> I hope it can helps someone. It probably only works for machine with a 64 bit 
> cpu, but It would be nice to update the documentation, because it's a bit 
> frustrating.
> 
> Thanks 
> 
> Francis
> 
> _______________________________________________
> Chicken-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/chicken-users



reply via email to

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