Is there a way using ar to add to existing libfoo.a library an additional object bar.o and specify the name of the result libnew.a?
Asked
Active
Viewed 13 times
0
-
doesn't `man ar` tell you that? – Marcus Müller Dec 17 '22 at 14:29
-
What have you tried so far? – nohillside Dec 24 '22 at 09:32
-
I can achieve the goal by just copying and renaming the .a and the using 'ar -cr'. It just felt like ar might be able to do this in one command – foo Dec 24 '22 at 13:44