GNU Compiler Collection: Difference between revisions
Created page with "==Usage== ==Static Linking==" |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==Usage== | ==Usage== | ||
==Static Linking== | ==Static Linking== | ||
[https://stackoverflow.com/questions/6578484/telling-gcc-directly-to-link-a-library-statically stackoverflow] | |||
* Use <code>-static</code> or; | |||
* Use <code>-l:libblah.a</code> instead of <code>-lblah</code> |