[m-dev.] for review: add threads options to ml

Simon Taylor stayl at cs.mu.OZ.AU
Fri Apr 7 10:27:39 AEST 2000


 
> I managed to reproduce the problem.  With `-lpthreads -lc_r' (i.e.
> scripts/ml.in version 1.75, the one before my change),
> when I try to build the compiler with `GRADE=asm_fast.gc.par',
> I get the following error when linking mercury_compile:
> 
>     Error: Undefined:
>     vm_page_size
>     swtch_pri
>     vm_allocate
>     task_self_
>     mach_init
>     ...

You need to use `-lpthreads -lmach -lc_r' when using static linking.

Simon.
--------------------------------------------------------------------------
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