[m-dev.] Bootstrapping in the Java backend?

Paul Bone paul at bone.id.au
Wed Apr 17 23:11:07 AEST 2013


On Wed, Apr 17, 2013 at 10:57:58PM +1000, Julien Fischer wrote:
> On Wed, Apr 17, 2013 at 10:53 PM, Paul Bone <paul at bone.id.au> wrote:
> 
> >
> > > You cannot have Mercury programs in that directory.  There's no way
> > > it could be compiled with the source distribution.  The contents of the
> > util
> > > directory are the first thing that is built (i.e. before the standard
> > > library, which
> > > we we would need to link any Mercury program against).
> >
> > I made it work by altering the way things are built in the main Makefile,
> > This can still build the C programs in util before the runtime, but build
> > the Mercury programs in util (just mfilterjavac) after the runtime and
> > standard library.
> 
> 
> Is there any reason that it can't go into a separate directory?  I don't
> really
> like the idea of the workflow you're getting make to do during the build
> there -- it's kind of non-obvious.

I suppose we could create a new directory called util_mercury or similar.
Can we take this to Google Talk either now or tomorrow?


-- 
Paul Bone
http://www.bone.id.au



More information about the developers mailing list