title: How to create a shared object file from static library
body: <p>How to create a shared object file from a static library? I am using Cygwin.</p>
  
  <p>Is the following syntax correct?</p>
  
  <pre><code>gcc -shared -o libexample.so libexample.a
  </code></pre>