Aha, a este odpoved na Tvoju otazku: "a) sloučit dvě statické knihovny, aniž by se z nich musely extrahovat obj soubory
nebo"
1.
ak rozumies Makefile-om, tak napriklad, ak tie dva archivy sa robia v jednom Makefile-i,
tak mozes si urobit novy target, kde vytvoris ten treti archiv z tych *.o suborov, z ktorych sa vytvorili tie predchadzajuce dva *.a
2.
Inak, davam do pozornosti "option" pre ar s pismenkom T : (skus pouzit pre ten novy, treti archive)
" Make the specified archive a thin archive. If it already exists and is a regular archive, the existing members must be present in the same directory as
archive.
"
" GNU ar can optionally create a thin archive, which contains a symbol index and references to the original copies of the member files of the archives. Such
an archive is useful for building libraries for use within a local build, where the relocatable objects are expected to remain available, and copying the
contents of each object would only waste time and space. Thin archives are also flattened, so that adding one or more archives to a thin archive will add
the elements of the nested archive individually. The paths to the elements of the archive are stored relative to the archive itself.
"