bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnulib fails for build on Mac OS X 10.4: get_ppid_of.c:36:22: error:


From: Bruno Haible
Subject: Re: gnulib fails for build on Mac OS X 10.4: get_ppid_of.c:36:22: error:
Date: Thu, 13 Jan 2022 00:18:38 +0100

Ryan Schmidt wrote:
> MAC_OS_X_VERSION_MAX_ALLOWED is set for you based on what version of the SDK 
> you are using. ...
> 
> MAC_OS_X_VERSION_MIN_REQUIRED is set for you based on the default for the OS, 
> or the MACOSX_DEPLOYMENT_TARGET environment variable if set, or the 
> -mmacosx-version-min compiler flag or the -macosx_version_min linker flag if 
> present. ...

Thanks for the advice.

> > Despite
> >  -DMAC_OS_X_VERSION_MAX_ALLOWED=1090 -DMAC_OS_X_VERSION_MIN_REQUIRED=1040
> > it produced code that would *not* run on Mac OS X 10.4.
> 
> Uh yeah you can't do that at all. You can check the values of 
> MAC_OS_X_VERSION_MAX_ALLOWED and MAC_OS_X_VERSION_MIN_REQUIRED in your code 
> but you don't set them like that on the command line.

But I need to be able to give some testing to the code before I commit it,
and installing 15 different versions of Xcode is not an option.

Next time, I'll try your advice, and see whether it works in my
environment.

Bruno






reply via email to

[Prev in Thread] Current Thread [Next in Thread]