[m-dev.] for review: add threads options to ml
Fergus Henderson
fjh at cs.mu.OZ.AU
Thu Apr 6 12:39:28 AEST 2000
On 06-Apr-2000, Simon Taylor <stayl at cs.mu.OZ.AU> wrote:
>
> Estimated hours taken: 1
>
> Add some options to ml for use in linking programs which use Aditi.
> The Aditi API library uses threads internally, so programs which use
> it must link with the thread libraries.
>
> scripts/ml.in:
> Add option `--use-thread-libs' to link with the thread libraries
> when the Mercury code doesn't use coroutining/parallelism,
> but a C library does.
That one looks OK.
> Add option `--use-old-osf-thread-libs' to pass
> `-lpthreads -lc_r' to the linker on DEC OSF/1.
> Linking the Aditi API library fails when no
> options are passed.
That one looks like a bit of a wart to me.
Couldn't this be handled by an autoconf test?
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- 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