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

Erwan Jahier Erwan.Jahier at irisa.fr
Thu Mar 11 07:16:04 AEDT 1999


| On 09-Mar-1999, Erwan Jahier <Erwan.Jahier at irisa.fr> wrote:
| > Index: Mmake.common.in
| > --- 0.15/Mmake.common.in Tue, 09 Mar 1999 09:12:56 +0100 jahier (submitdiff/23_Mmake.comm 1.1 640)
| > +++ 0.15(w)/Mmake.common.in Tue, 09 Mar 1999 17:39:27 +0100 jahier (submitdiff/23_Mmake.comm 1.1 640)
| > @@ -199,13 +199,20 @@
| ...
| > +# Add the name of the soket library to those variables.
| > +EXTRA_CFLAGS	+= $(SOCKET_LIBRARY)
| > +EXTRA_MLFLAGS	+= $(SOCKET_LIBRARY)
| 
| That still won't work, because a definition on the command line
| will still override the definition here in the Makefile.
| 
| And `Mmake.common' is only used for the compiler, but any program
| linked in debug grade will need the socket stuff linked in.
| So you'd need to modify scripts/Mmake.vars.in or scripts/Mmake.rules.in
| rather than `Mmake.common'.
| 
| In addition, `ml' can be invoked by hand or via `mmc'
| rather than via `mmake'.
| 
| 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? In that case it will be too late to tell that
we need socket libraries.

-- 
R1.





More information about the developers mailing list