[prev in list] [next in list] [prev in thread] [next in thread]
List: gnulib-bug
Subject: Re: gnulib fails for build on Mac OS X 10.4: get_ppid_of.c:36:22: error:
From: Ken Cunningham <ken.cunningham.webuse () gmail ! com>
Date: 2021-12-22 15:53:14
Message-ID: A07E7A5E-33CC-4BCE-BFCC-9CEB633BDAB6 () gmail ! com
[Download RAW message or body]
> On Dec 22, 2021, at 7:23 AM, Bruno Haible <bruno@clisp.org> wrote:
>
> Ken Cunningham:
> > So that is why with the usual SDK usage on macOS systems, you don't
> > have to add the weak linking macros yourself, in most cases.
>
> Your proposed approach may work "in most cases", but not in this one.
>
> I said in the previous mail that I tried omitting the line
>
> extern int proc_pidinfo (int, int, uint64_t, void *, int) WEAK_IMPORT_ATTRIBUTE;
>
> and that it did not produce the appropriate code. 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.
>
> Bruno
>
Sure, could be. You can't just set those macros yourself, however:
> -DMAC_OS_X_VERSION_MAX_ALLOWED=1090 -DMAC_OS_X_VERSION_MIN_REQUIRED=1040
That will never work properly. It picks up those macros from the SDK itself, and that \
comes with a whole lot of other parts that make it work.
This is not my proposal, though — this is the "Apple Way".
Anyway, mighty generous of you to even consider supporting Tiger, if you ask me ;>
Ken
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic