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: Tue, 29 Dec 2009 00:08:49 -0000

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

  * owner:  => felix
  * status:  new => accepted


Comment:

 Replying to [comment:8 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.

 Ok, but ''how'' do I check for this?

-- 
Ticket URL: <http://www.irp.oist.jp/trac/chicken/ticket/143#comment:9>
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]