[mercury-users] Problems building with Erlang grade

Snooty Monkey sean at snootymonkey.com
Sun May 27 18:57:08 AEST 2012


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? I thought --erlang was just a synonym for --grade erlang?

Cheers,
Sean


__________
Sean Johnson - Founder



sean at snootymonkey.com, @snootymonkey on Twitter

BubbleTimer - Time Well Spent
http://bubbletimer.com/ @bubbletimer on Twitter









On Saturday, May 26, 2012 at 12:02 PM, Julien Fischer wrote:

> 
> Hi,
> 
> On Sat, 26 May 2012, Snooty Monkey wrote:
> 
> > Now that I have a working Mac OS X 10.7 Mercury install with Java and Erlang grades (thanks Julien!) I'm attempting to verify things by building a simple hello world. When I try it for Erlang:
> > 
> > mmc --make --erlang hello
> > 
> > I get the following:
> > 
> > Making Mercury/int3s/hello.int3
> > Making Mercury/ints/hello.int
> > Making Mercury/erls/hello.erl
> > Making Mercury/beams/hello.beam
> > ** Error making `hello'.
> > mkinit_erl: error opening file `/usr/local/mercury-11.07.1/lib/mercury/modules/none/mer_std.init': No such file or directory
> > 
> 
> 
> Does it work if you invoke the compiler as follows:
> 
> mmc --grade erlang --make hello
> 
> ?
> 
> 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/20120527/17e2975d/attachment.html>


More information about the users mailing list