[mercury-users] asm_fast(.gc) for intel/mac?

Julien Fischer juliensf at csse.unimelb.edu.au
Tue Feb 6 00:34:01 AEDT 2007

On Mon, 5 Feb 2007, Ben Schmidt wrote:

>> Yes, but if you are using the apple supplied builds of gcc it may
>> require a bit of effort convincing them to compile the C code generated by 
>> the compiler.  With apple's build of gcc 4.0 I could only get the source
>> distribution to build by compiling the C code at -O0, e.g. by putting
>> in the Mmake.params file at the top-level of the source tree.
>>> I seem to recall
>>> it compiling just fine for SPARC/Solaris.  If it is broken for intel/mac,
>>> what would it take to get it working?
>> The same thing that it would take to get it working for ppc/mac - someone
>> fixing the problems in gcc's darwin support.  (I think one of the problems
>> is the gcc bug mentioned in README.MacOS; there may be others, when we
>> last tried on ppc/mac we couldn't get past that one though).  Ben Schmidt 
>> has been using Mercury on an Intel Mac and he mentioned a few weeks ago 
>> that gcc 4.2 may fix some of the problems.  (There was some discussion
>> of it on one of the Mercury mailing lists but I don't remember which.)
> I successfully compile Mercury out of the box using a patched version of 
> Apple's GCC. It uses grade reg.gc by default, I think, but it does work with 
> optimisations turned on.

Did it also run the test suite without any unexpected failures?

mercury-users mailing list
Post messages to:       mercury-users at csse.unimelb.edu.au
Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
Subscriptions:          mercury-users-request at csse.unimelb.edu.au

More information about the users mailing list