[m-dev.] Re: for review: add support for `-L' to ml

Fergus Henderson fjh at cs.mu.OZ.AU
Fri Mar 6 15:23:06 AEDT 1998


On 06-Mar-1998, Tyson Dowd <trd at cs.mu.OZ.AU> wrote:
> > scripts/ml.in:
> > 	Add support for `-L' (`--lib-dir').
> > 	`-L' options are basically just passed on to the system linker.
> 
> Why did we want to add this support again? Should be in the log
> message (just briefly).

I committed it already, I'm afraid. Your changes to extras/samples/clpr
didn't work, and this change was needed to fix the problem.

But for the record, the reason was that without this change,
putting `-L' in MLFLAGS meant that ml interpreted that as
the end of the ml options, so anything after in it in MLFLAGS
was interpreted as a gcc option, not an ml option.
(This is exactly what happened in the extras/samples/clpr case:
`--shared' was being passed after the `-L' options.)

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