Skip to main content

How to Build Mustang with VS.NET 2003

4 replies [Last post]
vijayj
Offline
Joined: 2004-10-26

MS VS.NET 2003:

The Microsoft Visual Studio.NET 2003 Professional Edition compiler, can also be used for building the JDK 6.0. The compiler and other tools are expected to reside in the location defined by the variable VS71COMNTOOLS which is set by the Microsoft Visual Studio.NET installer.

It is highly recommended that you run VCVARS32.BAT (usually found in C:\"Program Files"\"Microsoft Visual Studio .NET 2003"\Vc7\bin\VCVARS32.BAT) to set MSVCDIR, INCLUDE, LIB, and the PATH prior to building the JDK.

If your compiler resides in a place other than the default, you can set ALT_COMPILER_PATH to point to the location of the cl compiler binary. If you are using MS VS.NET 2003 then you don't need to set ALT_MSDEVTOOLS_PATH variable. The compiler and tools binaries must be in the PATH.

http://www.java.net/download/jdk6/build-windows-i586.html#msvc

Thanks,
Vijayan.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
aaronanderson
Offline
Joined: 2004-01-23

any chance of support for the Windows platform SDK
http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4...

vijayj
Offline
Joined: 2004-10-26

Currently our build requires the Microsoft Platform Software Development Kit (SDK), November 2001 Edition compiler to build our deploy workspace. After the VC.NET 2003 compiler switch, we will be looking into the possibility of moving our MSSDK as well. At present we don't have the target date for this.

We are planning to roll over to the VC.NET 2003 compiler, sometime this month.

Thanks,
Vijayan.

hlavac
Offline
Joined: 2003-09-16

Please consider supporting buliding Mustang using just the Microsoft Visual C++ Toolkit 2003 free command-line compiler

http://msdn.microsoft.com/visualc/vctoolkit2003/

in combination with recent Platform SDK. That would make it a lot easier for researchers not having access to full Visual Studio .NET 2003.

kellyohair
Offline
Joined: 2004-09-03

We had been considering that, but it turned out that some critical include files and lib files have been left out of that 'free' compiler. We haven't had the time to investigate whether it could build all the j2se when combined with the Platform SDK.

This free compiler also doesn't seem to allow for any 'debug' builds, seems to have an optimizing compiler only. Since we were also concerned with compiler support we decided to not try and make it the 'official' compiler, but we do want to continue this investigation to allow it to be used, we just ran out of time. We would appreciate anyone's investigation into making this work. In general, we want to allow the use of any reasonable compiler and tool set to build Mustang.