title: How to compile Crypto++ cross platform on osx
body: <p>My desktop application has dependency on the Crypto++ library. First I tried to install Crypto++ from Brew and link with my application. First error has arrived when I tried to run application to an older mac (with older cpu, which I suppose does not have AESNI instructions). it crashed with:</p>
  
  <pre><code>Crashed Thread:        56
  
  Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)
  Exception Codes:       0x0000000000000001, 0x0000000000000000
  Exception Note:        EXC_CORPSE_NOTIFY
  
  Termination Signal:    Illegal instruction: 4
  Termination Reason:    Namespace SIGNAL, Code 0x4
  Terminating Process:   exc handler [0]
  </code></pre>
  
  <p>After that I compiled crytpo++ with an older mac. so far all was good. but recently I encountered same error with even older cpu.</p>
  
  <p>Basically the question is: is there a way to compile Crypto++ so the deployed lib would be cross platform ?</p>