man and info pages for the tools ar, ld, gcc, g++ etc are very helpful. Assuming that you just want a larger object file to link against later, what you probably want is an archive file.
The command would be:
ar archivename.a object1.o object2.o objectn.o
you can then use the archive to link your final binary against.
Man Pages
man and info pages for the tools ar, ld, gcc, g++ etc are very helpful. Assuming that you just want a larger object file to link against later, what you probably want is an archive file.
The command would be:
ar archivename.a object1.o object2.o objectn.o
you can then use the archive to link your final binary against.
ld -r is your friend.
ld -r is your friend.