[mercury-users] Problems building with Erlang grade

Sean Johnson sean at snootymonkey.com
Wed Jun 6 09:17:58 AEST 2012


Julien,

Any luck when looking into this? Anything I can do to help or are you able to replicate it on your end?

Cheers,


On Sunday, May 27, 2012 at 7:55 AM, Julien Fischer wrote:

> '
> Hi,
> 
> On Sun, 27 May 2012, Snooty Monkey wrote:
> 
> > It does Julien:
> > 
> > mmc --grade erlang --make hello
> > 
> > Making Mercury/int3s/hello.int3
> > Making Mercury/ints/hello.int
> > Making Mercury/erls/hello.erl
> > Making Mercury/beams/hello.beam
> > Making hello
> > 
> > 
> > Thanks! What's the difference?
> 
> The former appears to be buggy, the latter not buggy ;-)
> 
> > I thought --erlang was just a synonym for --grade erlang?
> 
> Not quite. --erlang sets (or should set) the target language to Erlang,
> leaving other grade components unchanged; --grade erlang should both
> set the target language to Erlang and reset all other grade components
> to their default values. (I'm not quite sure what's going wrong with
> --erlang at the moment. The error message you were getting indicates
> that at least part of the compiler still thinks that the target language
> is C -- I will look into it.)
> 
> Cheers,
> Julien.
> --------------------------------------------------------------------------
> mercury-users mailing list
> Post messages to: mercury-users at csse.unimelb.edu.au (mailto:mercury-users at csse.unimelb.edu.au)
> Administrative Queries: owner-mercury-users at csse.unimelb.edu.au (mailto:owner-mercury-users at csse.unimelb.edu.au)
> Subscriptions: mercury-users-request at csse.unimelb.edu.au (mailto:mercury-users-request at csse.unimelb.edu.au)
> --------------------------------------------------------------------------
> 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/users/attachments/20120605/98395b38/attachment.html>


More information about the users mailing list