RFR: 7903284: jextract should infer platform specific include path for Mac OS

Manuel Bleichenbacher manuel.bleichenbacher at gmail.com
Mon Sep 5 21:34:10 UTC 2022


That's a good addition. But it just stops short of a great addition.

Instead of just adding "-I/Applications/Xcode.app/..../MacOSX.sdk" to the
clang command line, it would be much better to also add
 "-F/Applications/Xcode.app/..../MacOSX.sdk/System/Library/Frameworks".
That way, jextract would gain the ability to find header files of
frameworks, a core feature of macOS development.


On Mon, Sep 5, 2022 at 6:45 PM Athijegannathan Sundararajan <
sundar at openjdk.org> wrote:

> Using xcrun --show-sdk-path to find the SDK installation path
>
> -------------
>
> Commit messages:
>  - 7903284: jextract should infer platform specific include path for Mac OS
>
> Changes: https://git.openjdk.org/jextract/pull/69/files
>  Webrev: https://webrevs.openjdk.org/?repo=jextract&pr=69&range=00
>   Issue: https://bugs.openjdk.org/browse/CODETOOLS-7903284
>   Stats: 29 lines in 1 file changed: 29 ins; 0 del; 0 mod
>   Patch: https://git.openjdk.org/jextract/pull/69.diff
>   Fetch: git fetch https://git.openjdk.org/jextract pull/69/head:pull/69
>
> PR: https://git.openjdk.org/jextract/pull/69
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jextract-dev/attachments/20220905/0d821c91/attachment.htm>


More information about the jextract-dev mailing list