Compiling on Leopard, running on Tiger

Gerben Wierda Gerben.Wierda at rna.nl
Fri Jul 25 15:10:42 PDT 2008


On Jul 25, 2008, at 11:46 PM, Christiaan Hofman wrote:

> -mmacosx-version-min gives the deployment target, not the SDK  
> version (that's more like macosx-version-max). So it's still linking  
> to the library from the 10.5 SDK, which has 7.0.0 set as  
> compatibility version of libiconv. So you must tell the linker not  
> to use the version of libiconv in the standard location. I think you  
> can use the -dylib_file option for that. Though I haven't been able  
> to do that myself (though I did not try very hard).
>
> Otherwise, why can't you just use the 10.4u SDK? Are you using any  
> 10.5 API?

This is just compiling public domain ghostscript from the .tar.gz  
distribution. This is all outside XCode. I'd love to use the 10.4 SDK  
while compiling/linking from the command line (configure, makefile),  
but how?

G



More information about the MacOSX-dev mailing list