On Saturday, 30 November 2019 19:37:16 UTC+2, Jorgen Grahn wrote:
> On Sat, 2019-11-30, Öö Tiib wrote:
> > On Saturday, 30 November 2019 12:39:00 UTC+2, Frederick Gotham wrote:
> >> Scott said:
> >> > An archive (.a) is simply a 'folder' of object files.
> >>
> >> I thought everyone called.
> >> these .a files "static libraries".
> >
> > That is fancy term about some .o (object) files combined into
> > .a (archive) file.
>
> I don't know about "fancy"; as far as I can tell "static library"
> is the term people use for libraries which aren't shared libraries.
Correct.
> But they /are/ implemented as archive files on Unix: something similar
> to a tar archive containing object files, and often a symbol table for
> faster linking.
So these can be distributed as 1) folder of source code or 2) as
that archive file and folder of header files or even 3) just folder
of header files (then it is "header-only statically-linked library"
or just "header-only library").
> Anyway, the main point upthread was that they aren't called "static
> shared libraries".
I fully agree with that. I was attempting to add a pedantry point
to the mix in sense that calling that .a file alone (IOW wihout
headers) as "shared library" is becoming a bit extravagant. Sorry
for confusion if I caused any.