how to build against an older SDK - library not found for -lcrt1.10.6.o

Ryan Schmidt ryandesign at macports.org
Wed Nov 15 17:11:08 UTC 2017


On Nov 15, 2017, at 11:09, Ken Cunningham wrote:

> On 2017-11-15, at 8:49 AM, Ryan Schmidt wrote:
> 
>> You don't need to do that manually. Just set "configure.sdk_version 10.4"; MacPorts then adds the right -isysroot flags for you.
> 
> thanks. I will look into doing just that.
> 
> And by the way, I'd like to have a chat one day with the fellow that made the compiler flag
> 
> -mmacosx-version-min=10.4
> 
> and the linker flag
> 
> -macosx_version_min 10.4
> 
> 
> I think they do these things just to test me -- :>

Also, instead of using those macosx version flags, just set "macosx_deployment_target 10.4".



More information about the macports-dev mailing list