[m-rev.] for review: cross-compiling with mingw
Peter Wang
novalazy at gmail.com
Mon Jan 9 11:36:12 AEDT 2012
On Tue, 3 Jan 2012 02:03:22 +1100 (EST), Julien Fischer <juliensf at csse.unimelb.edu.au> wrote:
>
>
> Hi,
>
> On Mon, 19 Dec 2011, Peter Wang wrote:
>
> > Branches: main
> >
> > Let Mercury be built with a MinGW cross-compiler.
> >
...
> > .PHONY: install_grades
> > -install_grades: install_main
> > +install_grades: # install_main
>
> Is commenting out the dependency on install_main there intentional?
No.
> > +Then install Mercury as usual:
> > +
> > + mmake install PARALLEL=-j6 LIBGRADES=...
>
> Specifying which library grades to install like that results in the library
> grades not being set properly in Mercury.config and Mmake.vars (e.g the value
> of LIBGRADES in the latter).
Fine. (The list of library really ought to be discovered at run time
and not hard-coded.)
> (Also, don't you only need to use PARALLEL=-jN when invoking make not mmake?)
Yes. I've changed that line to
mmake install -j6
> That looks fine otherwise.
Thanks. I've followed your suggestions and committed.
Peter
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to: mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions: mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------
More information about the reviews
mailing list