[m-dev.] Mingw & packaging

Fergus Henderson fjh at cs.mu.OZ.AU
Mon Nov 11 11:17:39 AEDT 2002


On 10-Nov-2002, Peter Ross <pro at missioncriticalit.com> wrote:
> fjh wrote:
> > However, using the resulting compiler is not so easy, since the compiler
> > uses Windows path names, but the scripts which invoke it assume Unix
> > path names.
> >
> > One way to solve it is to use the mercury_compile.exe file from
> > a compiler built with Cygwin, but use the libraries built with Mingw.
> >
> > Pete, how do you deal with this issue when compiling with MSVC?
>
> I share my cygwin usr directory as usr.
> 
> I can then refer to it in windows using \\machine\usr.  However you can also
> alternatively use //machine/usr which works under both cygwin and MSVC.
> 
> So to configure I pass `--prefix //machine/usr/local/mercury-latest', note
> however that during the install process you must use
> `mmake install INSTALL_PREFIX=/usr/local/mercury-latest' to avoid problems
> with `mkdir -p' and these style path names (it doesn't work).

I see.

It would be nice to document this in README.MS-VisualC.

> This is all documented in README.MS-VisualC.

Of what you wrote above, only the last three lines of the last paragraph
is documented in README.MS-VisualC.

The "I share my cygwin usr directory as usr" bit is not documented in
README.MS-VisualC.  The section "installing on network drives" sounds
entirely optional.  It is not made clear that this step is necessary
even if you are installing on a local drive.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list