[mercury-users] Make, environment and linking in cygwin1.dll [was: Wow! It worked on Mingw]

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Feb 11 16:16:27 AEDT 2003


On 11-Feb-2003, Ralph Becket <rafe at cs.mu.OZ.AU> wrote:
> 
> You can change this using the `--prefix=<directory path>' option to
> configure when installing.  For example, to install in /foo/bar you
> would use `./configure --prefix=/foo/bar'; installing will then place
> all the executables and so forth in /foo/bar/bin, the libraries in
> /foo/bar/lib and so forth.

That's true for the Mercury source distribution, and for most of the
binary distributions, but not for the Mingw binary distribution,
which is just a zip file of the installation directory, and also
not for the binary distribution for MacOS, which is similar.

I packaged the Mingw distribution up this way because this has been
requested in the past -- Windows users seem to find it easier to install
this way.

> Douglas Auclair, Tuesday, 11 February 2003:
> > 
> > I find it troubling that the Mercury system expects certain things to be
> > at certain places. [...]  For example, some operating systems discourage
> > the use of /usr/local at all (I think Debian is one of them, but I'm not
> > sure).

Since the source distribution is configurable, this is not a problem.
Only our binary distributions for some systems hard-code the path name,
and such binary distributions can choose a path name which is appropriate
for that system.

-- 
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-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list