hipe vs native compilation

Mikael Pettersson mikpe@REDACTED
Sun Jan 15 17:41:06 CET 2006


On Sun, 15 Jan 2006 22:24:26 +0800, ke.han@REDACTED wrote:
>Bengt Kleberg wrote:
>> On 2006-01-12 16:40, Joel Reymont wrote:
>
>> 
>> last time i heard the existing hipe targets where:
>> sparc
>> x86
>> 
>> unless you have a very new mac :-) you can not get native Mac OSX code.
>
>Are you implying that the new iMac on Intel can magically compile to 
>native code??  That is, there is no need to wait for a new erlang 
>release that enables OSX-x86?
>
>I'm getting in a new iMac in a few weeks and would love to know.

HiPE supports x86 on Linux and Solaris, and PowerPC on Linux
and OSX (as well as a few other CPU/OS combinations not relevant
here). Porting HiPE to the x86 version of OSX may or may not be
doable; it depends on a number of things, including:
- if the assembly language syntax is compatible with GAS
- if the C calling conventions are compatible with SVR4
- if sigaction() et al can be overridden to enforce SA_ONSTACK

/Mikael



More information about the erlang-questions mailing list