[m-dev.] issues with installing libraries
Zoltan Somogyi
zoltan.somogyi at runbox.com
Wed Sep 18 23:41:25 AEST 2024
On Wed, 18 Sep 2024 23:30:38 +1000, Julien Fischer <jfischer at opturion.com> wrote:
> > I have made a couple of small additions to the document for the sake
> > of completeness.
Your diff adds .lib and .dylib to .a and .so, but actually, the install intrastructure
(in make.library_install.m, at least) does not know *any* of those suffixes at all.
It just deals with the values of the compiler options that specify the suffixes
for static and dynamic libraries. It does not care what those values are;
they could be one of those four, or they could be something else (such as .dll).
Would replacing
.a (for C grades, if --library-extension is .a)
with
.X (for C grades, if --library-extension is .X)
make this clearer?
> I don't have any objections to the proposed scheme.
Thanks.
> One small thing: you have omitted .trans_opt files from your library suffix
> list. Was that intentional?
For now, yes. As the list of places that know about install directory structure shows,
there is one place that deals with mmc --make, but many that deal with mmake.
I therefore based that list on the one place for mmc --make, which does not install
.trans_opt files. When I get around to modifying the mmake places, I intend to
update that document to include .trans_opt files.
Zoltan.
More information about the developers
mailing list