chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] Re: #143: Build fails on 64-bit Mac OS X


From: Chicken Trac
Subject: [Chicken-janitors] Re: #143: Build fails on 64-bit Mac OS X
Date: Sat, 26 Dec 2009 20:06:53 -0000

#143: Build fails on 64-bit Mac OS X
--------------------------+-------------------------------------------------
 Reporter:  felix         |       Owner:       
     Type:  defect        |      Status:  new  
 Priority:  critical      |   Milestone:  4.4.0
Component:  build system  |     Version:  4.2.x
 Keywords:  arch          |  
--------------------------+-------------------------------------------------

Comment(by ddp):

 > Well, as per zbigniew's suggestion, it appears that it is better to
 check whether the default system libraries are 32-bit or 64-?> bit; the
 processor type is always reported as x86_64 by gcc on recent Macs, so this
 is not a reliable indicator. I will look into a > reliable way to detect
 what target the system libraries were compiled for.

 You probably want to look for a Darwin Kernel Version >=10 and 'sysctl
 hw.cpu64bit_capable: 1'

 If the kernel version is less than 10 or the CPU is not 64-bit capable,
 then build 32-bit.

-- 
Ticket URL: <http://www.irp.oist.jp/trac/chicken/ticket/143#comment:8>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

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