<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
With -F, we still need to specify framework to be used by another option, right? Do you have a simple command line example usage of frameworks?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
PS. jextract does support compiler_options.txt file (in the current dir) to pass compiler specific options not supported by jextract. </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Thanks,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
-Sundar</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Manuel Bleichenbacher <manuel.bleichenbacher@gmail.com><br>
<b>Sent:</b> 06 September 2022 03:04<br>
<b>To:</b> Athijegannathan Sundararajan <sundar@openjdk.org><br>
<b>Cc:</b> jextract-dev@openjdk.org <jextract-dev@openjdk.org><br>
<b>Subject:</b> Re: RFR: 7903284: jextract should infer platform specific include path for Mac OS</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div dir="ltr">That's a good addition. But it just stops short of a great addition.</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">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.</div>
<div dir="ltr"><br>
</div>
<div dir="ltr"><br>
</div>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Mon, Sep 5, 2022 at 6:45 PM Athijegannathan Sundararajan <<a href="mailto:sundar@openjdk.org">sundar@openjdk.org</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left-width:1px; border-left-style:solid; border-left-color:rgb(204,204,204); padding-left:1ex">
Using xcrun --show-sdk-path to find the SDK installation path<br>
<br>
-------------<br>
<br>
Commit messages:<br>
- 7903284: jextract should infer platform specific include path for Mac OS<br>
<br>
Changes: <a href="https://git.openjdk.org/jextract/pull/69/files" rel="noreferrer" target="_blank">
https://git.openjdk.org/jextract/pull/69/files</a><br>
Webrev: <a href="https://webrevs.openjdk.org/?repo=jextract&pr=69&range=00" rel="noreferrer" target="_blank">
https://webrevs.openjdk.org/?repo=jextract&pr=69&range=00</a><br>
Issue: <a href="https://bugs.openjdk.org/browse/CODETOOLS-7903284" rel="noreferrer" target="_blank">
https://bugs.openjdk.org/browse/CODETOOLS-7903284</a><br>
Stats: 29 lines in 1 file changed: 29 ins; 0 del; 0 mod<br>
Patch: <a href="https://git.openjdk.org/jextract/pull/69.diff" rel="noreferrer" target="_blank">
https://git.openjdk.org/jextract/pull/69.diff</a><br>
Fetch: git fetch <a href="https://git.openjdk.org/jextract" rel="noreferrer" target="_blank">
https://git.openjdk.org/jextract</a> pull/69/head:pull/69<br>
<br>
PR: <a href="https://git.openjdk.org/jextract/pull/69" rel="noreferrer" target="_blank">
https://git.openjdk.org/jextract/pull/69</a><br>
</blockquote>
</div>
</div>
</div>
</body>
</html>