GNU Compiler Collection: Difference between revisions

From David's Wiki
(Created page with "==Usage== ==Static Linking==")
 
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>-l:libblah.a</code> instead of <code>-llibblah</code>

Revision as of 15:29, 26 March 2020

Usage

Static Linking

stackoverflow

  • Use -l:libblah.a instead of -llibblah