Confused about Windows build

Ulf Zibis Ulf.Zibis at gmx.de
Mon Oct 17 16:22:28 UTC 2011


According to german Wikipedia [1], afxres.h could be simply replaced by windows.h for use with 
Express versions.
[1] http://de.wikipedia.org/wiki/Microsoft_Visual_Studio#Express_Editions:
"Projekte, die die afxres.h-Datei einbinden, können dennoch kompiliert werden, wenn man stattdessen 
die windows.h-Datei an dieser Stelle einbindet."

-Ulf


Am 17.10.2011 15:52, schrieb Tim Bell:
> Does the JDK source still depend on afxres.h?
>
> That was the stopper when I wrote up some blog entries about using the
> free compilers, years ago:
>
> http://blogs.oracle.com/TimBell/entry/building_jdk7_on_windows_xp
> http://blogs.oracle.com/TimBell/entry/building_a_href_http_openjdk1
> http://blogs.oracle.com/TimBell/entry/building_openjdk7_on_32_bit
> http://blogs.oracle.com/TimBell/entry/building_openjdk7_on_32_bit2
> http://blogs.oracle.com/TimBell/entry/building_openjdk7_on_32_bit3
>
> Tim Bell
>
> On Sun, Oct 16, 2011 at 9:07 PM, Phil Race<philip.race at oracle.com>  wrote:
>> I concur. Out of the box, 32 bit builds with even the closest extant
>> free SDK may be something that has never even been tried and my
>> guess is it won't work without changes.
>>
>> -phil.
>>
>> On 10/16/11 7:09 PM, Kelly O'Hair wrote:
>>> Windows 2000 and Visual Studio 2003 is for 32bit.
>>> Windows 2003 and Microsoft Platform SDK is for 64bit X64.
>>>
>>> It's possible it could build with different Visual Studio compilers, but
>>> that would probably require makefile and source changes.
>>>
>>> -kto
>>>
>>> On Oct 16, 2011, at 5:33 PM, Ulf Zibis wrote:
>>>
>>>> On
>>>> http://hg.openjdk.java.net/jdk6/jdk6/raw-file/tip/README-builds.html#windows
>>>> I read:
>>>> 4. Install the Microsoft Visual Studio .NET 2003 Professional
>>>> <http://hg.openjdk.java.net/jdk6/jdk6/raw-file/tip/README-builds.html#msvc>
>>>> or the Microsoft Platform SDK
>>>> <http://hg.openjdk.java.net/jdk6/jdk6/raw-file/tip/README-builds.html#mssdk>.
>>>>
>>>> But on
>>>> http://hg.openjdk.java.net/jdk6/jdk6/raw-file/tip/README-builds.html#msvc I
>>>> read:
>>>> The 32-bit OpenJDK Windows build requires Microsoft Visual Studio .NET
>>>> 2003 (VS2003) Professional Edition compiler.
>>>>
>>>> So do I really need to buy a VS 2003, or is there some "workaround" with
>>>> the Platform SDK on Windows XP?
>>>>
>>>> -Ulf
>>>>
>>



More information about the build-dev mailing list