title: How to use libtool to create a static library from a bunch of static libraries
body: <p>I have around 80 static libraries. I would like to create one static library from that.</p>
  
  <p><a href="https://stackoverflow.com/questions/8170450/combine-static-libraries/8170851#8170851">This answer</a> didn't work for me since I get the following error:</p>
  
  <pre><code>libtool: unrecognized option `-static'
  </code></pre>
  
  <p>I am also confused as to which mode it needs to be done in. Is it "link" or "install"
  Since there 20 odd libraries, can I also use "*" to specify all?</p>
  
  <p>I didn't find any information in document expect <a href="http://www.gnu.org/software/libtool/manual/html_node/Static-libraries.html" rel="nofollow noreferrer">this</a> which doesn't really answer my question.</p>
  
  <p>FYI..These are the modes:</p>
  
  <pre><code>MODE must be one of the following:
  
        clean           remove files from the build directory
        compile         compile a source file into a libtool object
        execute         automatically set library path, then run a program
        finish          complete the installation of libtool libraries
        install         install libraries or executables
        link            create a library or an executable
        uninstall       remove libraries from an installed directory
  </code></pre>