« Return to Thread: 64-bit yap on OS X 10.5?

Re: 64-bit yap on OS X 10.5?

by Will Benton :: Rate this Message:

Reply to Author | View in Thread

Hi all,

The issues I had building and using 64-bit yap on an Intel Mac are now  
fixed in the CVS head.

If you're a Mac user and would like to use a 64-bit yap, here's how to  
build it:

0.  Update from CVS,
1.  Set the environment variable CC to 'gcc -arch x86_64'
2.  When you run configure, add "--build=x86_64-apple-darwin" to the  
other options you'd typically use, and
3.  Make and install as usual.


best,
wb

On Jan 21, 2008, at 8:38 PM, Will Benton wrote:

> Hi all,
>
> Has anyone successfully built and run yap as a 64-bit application on  
> OS X 10.5?  (I'm using the current CVS version on a core 2 duo  
> machine.)  I've run into a few problems, most notably:
>
> 1.  The CFLAGS I pass to configure aren't used for compiling  
> parser.c and c_interface.c, so these two files are compiled for 32-
> bit OS X.  (If I recompile them by hand, yap will link.)
> 2.  yap attempts to mmap its initial work space at a fixed address  
> that isn't mmapable under 64-bit OS X.  (I tried with --enable-use-
> malloc, too, but that just segfaulted.)
>
> If I fix these two problems, I get segfaults when compiling the  
> initial bootfile (stack trace below).  I guess I'm not sure whether  
> or not yap will even work in this configuration without major  
> surgery, but if anyone has gotten it to work, I'd be glad to hear how.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Yap-users mailing list
Yap-users@...
https://lists.sourceforge.net/lists/listinfo/yap-users

 « Return to Thread: 64-bit yap on OS X 10.5?