[m-dev.] for review: README.Linux update for shared libs.

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Feb 4 21:08:13 AEDT 1999


That looks fine -- thanks.

On 04-Feb-1999, Tyson Dowd <trd at cs.mu.OZ.AU> wrote:
> Estimated hours taken: 1
> 
> README.Linux:
> 	Use `ml --shared' rather than `ml --mercury-libs shared'
> 	as the latter doesn't work.
> 
> 	Also don't talk worry about the difference between linking
> 	just the Mercury libraries statically/shared -- assume
> 	static or shared is an all-or-nothing concern (which it
> 	probably is for most users).
> 
> --- mercury-0.8.1.orig/README.Linux
> +++ mercury-0.8.1/README.Linux
> @@ -25,11 +25,8 @@
>  a future release.)
>  
>  To use the shared libraries, you must compile your program with
> -`mmc --pic-reg' and link with `ml --mercury-libs shared'
> -or add `MGNUCFLAGS=--pic-reg' and `MLFLAGS=--mercury-libs shared'
> -to your Mmake file.  If you are linking against Mercury libraries
> -other than the standard library, replace `--mercury-libs shared'
> -with `--shared'.
> +`mmc --pic-reg' and link with `ml --shared' or add 
> +`MGNUCFLAGS=--pic-reg' and `MLFLAGS=--shared' to your Mmake file.
>  
>  Mercury code compiled with `--pic-reg' or with gcc's `-fpic' option has
>  what we shall call "PIC linkage", whereas Mercury code compiled without
> 
> -- 
> The quantum sort: 
> 	while (!sorted) { do_nothing(); }
> Tyson Dowd   <tyson at tyse.net>   http://tyse.net/
> --------------------------------------------------------------------------
> 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
> --------------------------------------------------------------------------
> 

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "Binaries may die
WWW: <http://www.cs.mu.oz.au/~fjh>  |   but source code lives forever"
PGP: finger fjh at 128.250.37.3        |     -- leaked Microsoft memo.



More information about the developers mailing list