I'm building a C++ command line tool in Xcode. The project contains dylibs for curl, boost and log4cpp.
Ideally id like to build an i386 universal binary that supports 10.4 through to 10.6.
I cant seem to get Xcode to compile, when I target 10.4 it says things like no such file or directory.
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?
What version of GCC should i be using?
Also, When i create an install package with PackageMaker, where should the installer place the dylibs that the tool requires?
Many thanks in advance, Toby.
The 3rd party libraries were built for 10.6 x_64, I needed to rebuild them for 10.4.
I installed the 10.4u sdk by downloading xcode 3.2 and choosing 'install 10.4 support' during the installation process.
After rebuilding each library with GCC 4.0 against the 10.4u sdk, my project compiled successfully.
I also used static libraries so I don't need to include them in the installer.