[m-dev.] For review: Enable by default the use of the external debugger

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Mar 11 09:13:45 AEDT 1999


On 10-Mar-1999, Erwan Jahier <Erwan.Jahier at irisa.fr> wrote:
> | On 10-Mar-1999, Erwan Jahier <Erwan.Jahier at irisa.fr> wrote:
> | > [Fergus wrote:]
> | > | Perhaps the solution is to change scripts/ml.in rather than Mmake.common
> | > | or Mmake.vars.
> | > 
> | > I don't understand this last suggestion: won't modifications in scripts/ml.in
> | > only have effects at link time?
> | 
> | Yes.
> | 
> | > In that case it will be too late to tell that we need socket libraries.
> | 
> | Why?
> | 
> | I think maybe you have some misunderstanding about how libraries work.
> | The C compiler ignores `-l' options unless you're linking.
> 
> Well OK, my question was very badly formulated. Let's try again:
> won't modifications in scripts/ml.in only have effects at "the final
> link" (ie when linking  ../trace/libmer_trace.a ../browser/libmer_browser.a
> etc...) ?

No; in addition to that usage, where `ml' is used to create an executable,
`ml' is also used to link the shared libraries.

> And in that case trace/libmer_trace.a will be build without the socket library.

Yes.  So what?  You never need to specify which libraries you are using
when you create a `.a' file.  You only need to specify the libraries
that you are using when you create a `.so' file or an executable.

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



More information about the developers mailing list