I have this command on Windows: A.obj link /lib /out:B.lib A.obj
I want to do exactly the same but with GCC 4.8.5 in Linux
I tried with A.o ar rcs B.a A.o and it is generating a static library but i´m not really sure if it is the same ´cause my A.lib and my A.a have a significant size difference.