title: Is there an command in linux to find out whether a library has been build in 32 or 64 bit mode
body: <pre><code>gcc 4.5.1
  Fedora 14 Linux
  </code></pre>
  
  <p>I have this static library that was build from a previous programmer. However, he has left the company and we don't have the source code. All we have is the header files <code>*.h</code> and the <code>libnet.a</code> static library.</p>
  
  <p>When I am try and link this with our application. I get a <code>incompatible linker error</code>. I think the problem is that the static library has been built on a 32 bit machine. And I am trying to link using a 64 bit machine. I could compile my application using the cflag -m32. However, I just want to know if there is any command that will give me if the static library was built in either 32 or 64 bit mode?</p>
  
  <p>Many thanks for any suggestions,</p>