-
Notifications
You must be signed in to change notification settings - Fork 738
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update the DIA include in the doc for building Windows jdk8 #21140
Conversation
@@ -377,7 +377,7 @@ export PATH="/cygdrive/c/Program Files/NASM:$PATH" (in Cygwin) | |||
Update your `INCLUDE` environment variable to provide a path to the Windows debugging tools with the following command: | |||
|
|||
``` | |||
set INCLUDE=C:\Program Files\Debugging Tools for Windows (x64)\sdk\inc;%INCLUDE% | |||
export INCLUDE=C:\Program Files\Microsoft Visual Studio\2022\Community\DIA SDK\include;%INCLUDE% |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do I need to change %INCLUDE%
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The intent here is to use the set
command in the Windows cmd.exe
context.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I never run cmd, I just run a cygwin terminal from the start menu. The modified command works for me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's also consistent with the previous commands for updating the PATH.
@@ -377,7 +377,7 @@ export PATH="/cygdrive/c/Program Files/NASM:$PATH" (in Cygwin) | |||
Update your `INCLUDE` environment variable to provide a path to the Windows debugging tools with the following command: | |||
|
|||
``` | |||
set INCLUDE=C:\Program Files\Debugging Tools for Windows (x64)\sdk\inc;%INCLUDE% | |||
export "INCLUDE=C:\Program Files\Microsoft Visual Studio\2022\Community\DIA SDK\include;$INCLUDE" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, consistently using bash commands is probably better, but this should use single quotes, without the reference to the old value (which is not needed for building Java 8):
export INCLUDE='C:\Program Files\Microsoft Visual Studio\2022\Community\DIA SDK\include'
(so \
characters are taken literally, not as escapes)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
Signed-off-by: Peter Shipton <[email protected]>
No description provided.