FW: ATL headers and libraries?

Ted Neward ted at tedneward.com
Fri May 23 05:34:50 UTC 2008


Are there any build changes for Hotspot that need to be forwarded into the
central Mercurial repos? I tried building with *just* the FrameworkSDK
compiler (just to see if I even need the VC Express tool), and I'm erroring
out on some 0-length generated .cpp files. I'm guessing the Hotspot team had
to hit this problem as well....

For those unfamiliar with the difference, the Platform SDK contains the
command-line compiler tools for the Windows platform, as well as all the
Windows platform-specific header files (a la windows.h). Theoretically, we
*should* be able to build with just the Platform SDK, since it'll be a
superset of the headers and libraries included in VC Express (as far as I
can tell, anyway).

Once this gets done, technically the Challenge would be complete, since
nobody was expecting to port away from the Makefiles over to MSBuild (and VC
Express doesn't even use MSBuild, it uses its own "VCBuild" tool), and you'd
still need the GNU make to execute the builds. Thus, the only advantage of
having VC Express would be the IDE (the editor, really), and even then you'd
want/need to shell out to run the make scripts anyway. :-)

There may be a few changes (I've found one so far, having to add
_CRT_SECURE_NO_WARNINGS to the command-line compile to avoid warnings about
using the "unsafe" versions of the C string functions, since right now the
build says to treat warnings as errors), but so far it's been pretty
minimal. Kelly, in the event I have changes to make, can I just detail them
to you in an email, or should I do formal diffs and/or set up a Mercurial
repo?

Ted Neward
Java, .NET, XML Services
Consulting, Teaching, Speaking, Writing
http://www.tedneward.com
 

> -----Original Message-----
> From: build-dev-bounces at openjdk.java.net [mailto:build-dev-
> bounces at openjdk.java.net] On Behalf Of Ted Neward
> Sent: Saturday, May 17, 2008 1:16 PM
> To: Phil.Race at Sun.COM; 'Kelly O'Hair'
> Cc: build-dev at openjdk.java.net
> Subject: RE: FW: ATL headers and libraries?
> 
> AH.... Excellent. :-)
> 
> Ted Neward
> Java, .NET, XML Services
> Consulting, Teaching, Speaking, Writing
> http://www.tedneward.com
> 
> 
> > -----Original Message-----
> > From: Phil.Race at Sun.COM [mailto:Phil.Race at Sun.COM]
> > Sent: Thursday, May 15, 2008 10:46 AM
> > To: Kelly O'Hair
> > Cc: Ted Neward; build-dev at openjdk.java.net
> > Subject: Re: FW: ATL headers and libraries?
> >
> > A member of the hotspot team built hotspot (nothing else) with Visual
> > Studio Express 2008 about
> > a month ago, so there should be no dependencies on ATL since that
> isn't
> > in VS Express.
> >
> > -phil.
> >
> > Kelly O'Hair wrote:
> > >
> > > Tim's email:
> > > http://mail.openjdk.java.net/pipermail/build-dev/2007-
> > December/000654.html
> > >
> > >
> > > Mentions this:
> > >   hotspot\src\os\windows\vm\jvm_windows.h(33) : fatal error C1083:
> > > Cannot open include file: 'windows.h': No such file or directory
> > >
> > >
> > > But windows.h should not be a problem to find, right? Platform SDK
> > should
> > > have one I assume.
> > >
> > > I seriously doubt that Hotspot would have any dependence on atlmfc.
> > > I searched and found no include's of any obvious atl files.
> > >
> > > -
> > >>
> >
> > No virus found in this incoming message.
> > Checked by AVG.
> > Version: 7.5.524 / Virus Database: 269.23.16/1434 - Release Date:
> > 5/15/2008 7:24 AM
> >
> 
> No virus found in this outgoing message.
> Checked by AVG.
> Version: 7.5.524 / Virus Database: 269.23.16/1448 - Release Date:
> 5/16/2008
> 7:42 PM
> 
> 
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.524 / Virus Database: 269.23.16/1448 - Release Date:
> 5/16/2008 7:42 PM
> 

No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.24.0/1460 - Release Date: 5/22/2008
7:06 AM
 




More information about the build-dev mailing list