dotgnu-libjit
[Top][All Lists]
Advanced

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

Re: [Dotgnu-libjit] Building x86_64 libjit on OS X 10.6


From: Maarten Hoeben
Subject: Re: [Dotgnu-libjit] Building x86_64 libjit on OS X 10.6
Date: Fri, 11 Dec 2009 13:41:53 +0100

I looked at this some time ago, and got it building. The thing is though that 
you'll need to change the calling convention, which is slightly different on 
OSX compared to for example Linux. Furthermore, the object format (mach-o) is 
also not implemented, so instead of trying to get this to work I choose to 
change my code to use LLVM.

Maarten Hoeben

On Dec 9, 2009, at 12:32 AM, Ryan Spicer wrote:

> I'm trying to build libjit as an x86_64 shared library on OS X 10.6.
> I initially experienced several errors like
> 
> "/var/folders/Xv/Xvlv+HaaEx8DvcH2RrHzXk+++TI/-Tmp-//ccQp2TYt.s:1189:junk
> address@hidden' after expression"
> 
> I got these errors to stop appearing by specifying gcc/g++ version 4.0
> rather than 4.2 before running ./configure.
> 
> Next challenge: I need to build an x86_64 build.  Even with
> ./configure BUILD=x86_64 HOST=x86_64,  the .dylib created by make is
> i386.  What flags should I be setting to generate an x86_64 binary?
> 
> I hope this isn't a ridiculously naive question (I'm relatively new to
> scratch compiling -- trying to get hornetseye for Ruby working on my
> mac).
> 
> Ryan Spicer
> ============================
> IGERT Trainee
> Reflective Living
> School of Arts, Media and Engineering
> Arizona State University
> 
> 
> _______________________________________________
> Dotgnu-libjit mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/dotgnu-libjit





reply via email to

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