[m-dev.] for review: clarification of using mmake to build libraries
David Overton
dmo at cs.mu.OZ.AU
Tue Jan 30 12:07:35 AEDT 2001
On Fri, Jan 26, 2001 at 01:00:44AM +1100, Fergus Henderson wrote:
> David,
>
> Could you please have a go at this one sometime?
>
> On 11-Dec-2000, John Eikenberry <jae at zhar.net> wrote:
> > Fergus Henderson wrote:
> >
> > > Sorry, I should have said `mmake posix.depend'
> > > rather than `mmake libposix.depend'.
> >
> > You might want to make this more explicit in the User Guide. The section on
> > building libraries you pointed me to would seem to suggest that you use
> > 'mmake libposix.depend'.
Estimated hours taken: 0.2
doc/user_guide.texi
Clarify that you must use `mmake foo.depend' rather than
`mmake libfoo.depend' to generate the dependencies for a
library.
Index: user_guide.texi
===================================================================
RCS file: /home/mercury1/repository/mercury/doc/user_guide.texi,v
retrieving revision 1.234
diff -u -r1.234 user_guide.texi
--- user_guide.texi 2001/01/29 01:54:29 1.234
+++ user_guide.texi 2001/01/30 01:01:32
@@ -704,8 +704,10 @@
The Mmake target @samp{lib at var{foo}} is a built-in target for
creating a library whose top-level module is @samp{@var{foo}.m}.
-The automatically generated Make rules for the target @samp{lib at var{foo}}
+The automatically generated Mmake rules for the target @samp{lib at var{foo}}
will create all the files needed to use the library.
+(You will need to run @samp{mmake @var{foo}.depend} first
+to generate the module dependency information.)
Mmake will create static (non-shared) object libraries
and, on most platforms, shared object libraries;
--
David Overton Department of Computer Science & Software Engineering
PhD Student The University of Melbourne, Victoria 3010, Australia
+61 3 8344 9159 http://www.cs.mu.oz.au/~dmo
--------------------------------------------------------------------------
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