Choosing which Visual Studio installation to use
Michal Vala
mvala at redhat.com
Wed Feb 14 15:20:23 UTC 2018
Hi,
On 02/14/2018 12:24 PM, Thomas Stüfe wrote:
> Hi all,
>
> On Windows, if one has multiple VS installations side by side, is it
> possible to choose which Visual Studio installation to use?
>
> Note that I start the configure script from within the cygwin shell.
>
OpenJDK configure is reading VS environment properties
VS100COMNTOOLS/VS120COMNTOOLS/VS140COMNTOOLS etc. One option is to set just one
of them. AFAIK configure takes latest supported VS (2013 for ojdk9).
Another option is to use configure parameters, but I don't know how exactly use
them. Try to look to configure help
$ bash ./configure --help | grep toolchain
--with-tools-dir alias for --with-toolchain-path for backwards
--with-toolchain-path prepend these directories when searching for
toolchain binaries (compilers etc)
--with-toolchain-type the toolchain type (or family) to use, use '--help'
--with-toolchain-version
the version of the toolchain to look for, use
--with-build-devkit Devkit to use for the build platform toolchain
[toolchain dependent]
The following toolchains are available as arguments to --with-toolchain-type.
--
Michal Vala
OpenJDK QE
Red Hat Czech
More information about the build-dev
mailing list