wiki

Help! I'm trapped in a wiki!

Site Tools


programs:ar

ar

GNU's ar lets you make and do stuff with archives.

It's commonly used to bundle functions into a static library with ar -rcs libcool.a func1.o func2.o. This will insert ® the func1.o and func2.o objects into the newly created © libcool.a static library along with an index (s). Then you can link it along with your program as normal.

programs/ar.txt · Last modified: by 127.0.0.1