Cannot compile OpenJDK 11 (visual studio fail)
Franco Gastón Pellegrini
francogpellegrini at gmail.com
Fri Sep 28 00:15:01 UTC 2018
Hello, I'm trying to compile OpenJDK 11 from hg sources, but when I use:
bash ./configure --enable-debug --with-target-bits=32
--with-toolchain-version=2017 --with-jvm-variants=client
--with-boot-jdk="/home/Franco/Java/jdk10/build/windows-x86-normal-client-fastdebug/jdk/";
it fail, because:
checking for cl... /cygdrive/c/Program Files (x86)/Microsoft Visual Studio
14.0/VC/BIN/cl
configure: Rewriting CC to "/cygdrive/c/progra~3/micros~1.0/vc/bin/cl"
checking resolved symbolic links for CC... no symlink
configure: The C compiler (located as
/cygdrive/c/progra~3/micros~1.0/vc/bin/cl) does not seem to be the required
microsoft compiler.
configure: The result from running it was: "Compilador de optimizaci▒n de
C/C++ de Microsoft (R) versi▒n 19.00.24234.1 para x86"
configure: error: A microsoft compiler is required. Try setting
--with-tools-dir.
configure exiting with result code 1
I already tried installing visual studio 2013, 2015, and 2017 (using the
corresponding --with-toolchain-version), but all of them fail too. 2013
version fail in other way at the end, at compiling come security features.
I'm using windows 7 32 bits (I need a 32 bits version for some specific old
PCs).
what should I do?
--
Franco Pellegrini
More information about the build-dev
mailing list