choosing SDK for macports

Ryan Schmidt ryandesign at macports.org
Tue Apr 27 12:58:03 PDT 2010


On Apr 27, 2010, at 11:10, Dominik Reichardt wrote:

> 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?


Sorry, the ability to build for a different SDK is no longer available as of MacPorts 1.8.0. It was not implemented in a very good way. Joshua has just begun committing new code to trunk to re-add this functionality in a better way. Hopefully this will appear in MacPorts 1.9.0.





More information about the macports-users mailing list