choosing SDK for macports
Dominik Reichardt
domiman at gmail.com
Tue Apr 27 09:10:42 PDT 2010
Hi all,
in the process of building static binaries of our project (Exult), I hit the problem that on 10.5 my attempt to built the 10.4 PPC part always hit the "Symbol not found: _pthread_cond_init$UNIX2003" referenced from SDL (and other similar messages) on final linlking.
I found out that this happens because SDL's PPC part was not compiled against the 10.4 SDK. After more googling I found that adding
universal_sysroot /Developer/SDKs/MacOSX10.4u.sdk
universal_target 10.4
to macports.conf should take care of this. I tried that, built everything anew and still got the problem.
I WAS able to build a static PPC binary by manually building SDL with their fatbuild.sh script and linking to that lib.
I would still like to be able to use the macports installed SDL and am looking for what I'm doing wrong when trying to choose a SDK for macports.
Does anyone know what I did wrong, or was that functionality never really working?
Thanks
Dom
More information about the macports-users
mailing list