[mercury-users] Installing two libraries...

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Dec 24 00:23:08 AEDT 2002


On 23-Dec-2002, Noel  Pinto <cool4life at rediffmail.com> wrote:
> There one clarification required from the User's Guide.
> 
> - What do you mean by Mercury allows separate compilation of 
> libraries??

It means different libraries can be compiled to machine code,
separately, and then linked with the machine code for the main
program's modules to form an executable program.

> - I have tried...
> mmake test1.depend test2.depend
> mmake test1 test2
> My guess is it should work with libraries too.

Your guess is wrong.  For libraries it would need to be

	mmake test1.depend test2.depend
	mmake libtest1 libtest2

> Here also it is 
> separate compilation of libraries, only thing is, it compiles them 
> one after the another.

If you want them to be compiled in parallel (at the same time), rather
than one after the other, use the `-j' option to mmake.

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