Are you C’ing Static Libraries? If Not, You Probably Should!

  1. Run “ranlib
  2. Use cp -p flag to keep all attributes of a file when copying
  • -L. ← This flag indicates that the compiler should search for libraries in the current directory, in addition to the usual places the linker checks for standard libraries.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Bre Rickner

Bre Rickner

Fullstack Software Engineer — SDET — XR/AR/VR