title: How to build C++ for OSX 10.4, 10.5 and 10.6 in Xcode with dynamic libraries
body: <p>I'm building a C++ command line tool in Xcode. The project contains dylibs for curl, boost and log4cpp.</p>
  
  <p>Ideally id like to build an i386 universal binary that supports 10.4 through to 10.6.</p>
  
  <p>I cant seem to get Xcode to compile, when I target 10.4 it says things like  no such file or directory.</p>
  
  <p>When i target 10.6 x_64 it builds ok, but 10.5 i386 complains about my dylibs not being the correct architecture for 10.5?</p>
  
  <p>What version of GCC should i be using?</p>
  
  <p>Also, When i create an install package with PackageMaker, where should the installer place the dylibs that the tool requires?</p>
  
  <p>Many thanks in advance,
  Toby.</p>