Problem building openjdk using cygwin (original) (raw)

Alireza Mohamadi dangersd at gmail.com
Tue Mar 27 13:40:49 UTC 2018


Hi. I wanted to build OpenJDK in windows using cygwin, and I set VC compiler path, but due to whitespaces in the path I can't build, with the following error:

configure: Rewriting CC to "/cygdrive/c/progra~2/microsoft visual
studio/2017/community/vc/tools/msvc/14.13.26128/bin/hostx86/x64/cl"
checking resolved symbolic links for CC... no symlink
configure: The C compiler (located as /cygdrive/c/progra~2/microsoft visual
studio/2017/community/vc/tools/msvc/14.13.26128/bin/hostx86/x64/cl) does
not seem to be the required microsoft compiler.configure: error: A
microsoft compiler is reconfigure: The result from running it was:
"/home/SuNova/jdk/build/.configure-support/generated-configure.sh: line
35050: /cygdrive/c/progra~2/microsoft: No such file or directory"
configure exiting with result code 1

Well it's not in my hands to set compiler path while installing VS2017 and it does this automatically, so what can I do in this case?

-- Sometimes the best results can be achieved in the worst conditions Wish you the bests :) Alireza



More information about the build-dev mailing list