[m-dev.] for review: work-around for lcc bug
Fergus Henderson
fjh at cs.mu.OZ.AU
Wed Jan 17 13:32:06 AEDT 2001
On 11-Jan-2001, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> Here's a proposed work-around. Does this look OK?
>
> ----------
>
> Estimated hours taken: 1
>
> Link with the shared version of the C standard library,
> rather than linking the C library in statically.
> This works around an lcc bug with static linking.
>
> compiler/Mmakefile:
> profiler/Mmakefile:
> Add `--shared' to `MLFLAGS'.
> The overrides the default `--static' on Linux.
> (Since we name all the Mercury libraries that we link with
> explicitly, this only affects the way we link with the C
> library, not with the Mercury runtime or standard library.)
I'm going to go ahead and commit this one.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
| 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