I have static libraries:
1 (available from third party) util.a - created by ar cr, var.a (has several objects), uc.o, uc3.o
2 - ppk.a - creating with ar cr, which depends on util.a, uc1.o, uc2.o
I want to merge util.a (along with var.a) and ppk.a into one static library libab.a.
I tried with thin archive (option -T) but the detached objects are still missing.
Have this error: error adding symbols: malformed archive (Sorry can not post the logs.)
To include the objects of another static library in a new one, what are the relevant options for the archiving program to merge them?
I am building for CortexM7 on Linux with Makefile.