[mercury-users] ICFP 2002
Fergus Henderson
fjh at cs.mu.OZ.AU
Mon Aug 12 13:01:18 AEST 2002
On 11-Aug-2002, Michael Day <mikeday at yeslogic.com> wrote:
>
> > So over to you guys. Go team, etc!
>
> Any tips on how to build super static binaries with Mercury that don't
> depend on having installed Mercury libraries and such forth?
For static binaries, just put
MLFLAGS = --static
in your Mmakefile. Or alternatively, you can use
MLFLAGS = --mercury-libs static
which will link the Mercury libraries statically but will link
the C libraries (libc.so, etc.) dynamically.
--
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