bash configure: result from running a microsoft compiler was empty string
david.holmes at oracle.com
Wed Apr 10 05:25:05 UTC 2019
What do you see if you run:
On 10/04/2019 1:35 pm, Vitaly Provodin wrote:
> I'm trying to compile OpenJDK 13 (using WSL and following this instructions http://mail.openjdk.java.net/pipermail/build-dev/2018-December/024316.html <http://mail.openjdk.java.net/pipermail/build-dev/2018-December/024316.html>), but when I use:
> $ bash ./configure --with-boot-jdk=/mnt/c/Tools/Java/jdk-11.0.2 \
> --with-tools-dir="C:\Tools\VS\2017\Community\VC\Auxiliary" \
> it fail, with the following message:
> . . .
> configure: Will use user supplied compiler CC=/mnt/c/Tools/VS/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64/cl.exe
> checking resolved symbolic links for CC... no symlink
> configure: The C compiler (located as /mnt/c/Tools/VS/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64/cl.exe) does not seem to be the required microsoft compiler.
> configure: The result from running it was: ""
> configure: error: A microsoft compiler is required. Try setting --with-tools-dir.
> configure exiting with result code 1
> It looks like the cause of this failure is in the empty string
> configure: The result from running it was: “"
> Please note I tried the following
> - to run vcvars64.bat then start WSL (ubuntu)
> - just start WSL (ubuntu) wiothout vcvars64.bat
> anyway I got the above message.
> I'm using windows 10 64 bits
> Could you please give me advice what I should do?
> Thank you,
More information about the build-dev