I read the instruction & have several comments.

Basically I see no difference in Harmony build process for windows/ia32 & windows/em64t:

- Using 64-bit version of tools for 64-bit platforms seems to be pretty natural... I believe if one is using 32-bit version of javac then he/she can use 32-bit version of compiler (probably, I'm just guessing) I get 32-bit version of Harmony...

- for this reason using msvc2005 seems to be pretty obvious since there is no 64-bit version of msvc2003 (AFAIK).

- one needs to "call" vcvarsall.bat on windows/ia32 too if one builds from cygwin (which is not officially supported) - this there are a bit more tricks for building from cygwin (I use it) which can be mentioned. If one builds from cmd, then these is shortcut in start menu installed with msvc which runs cmd with proper argument (with this call), so it is not quite write to train the fingers and type the long pass to this bat from fresh cmd...

- I remember 'msvcr*.dll not found" issue for windows/ia32 - at least my build script keeps the "copy this dll to depends" patch. It might be fixed already for windows/ia32 - if yes, then the right option is JIRA for windows/em64t build & get it fixed...

So I propose move pretty helpful (but not windows/em64t specific) stuff written by Xiao-Feng to some common build instruction (like http://harmony.apache.org/quickhelp_contributors.html) - let's get information structured & not splashed over tons of documents. And (might be) keep one line in this one like "use msvc2005, no other diffs"... Or better extend quickhelp_contributors.html with 'windows/em64t' build information (why do we create one more build instruction)???

Thanks
Vladimir Beliaev

Geir Magnusson Jr. wrote:
thanks.  you da man!

On Mar 24, 2007, at 2:44 AM, Xiao-Feng Li wrote:

On 3/24/07, Geir Magnusson Jr. <[EMAIL PROTECTED]> wrote:
should we note this in the platform specific build page on the wiki?


Done at page http://wiki.apache.org/harmony/DevBuild_Win64

Thanks,
xiaofeng


On Mar 19, 2007, at 8:28 AM, Gregory Shimansky wrote:

> On Monday 19 March 2007 15:18 Xiao-Feng Li wrote:
>> Have you any build guide for Win64? Thanks,
>
> Well harmony should build on it out of the box. You will need MSVC
> 2005
> because only it supports compiling for x86_64 code. One issue with
> it is that
> location of msvcr80.dll is not c:\windows\system32, it usually resides
> somewhere in c:\windows\WinSxS or in MSVC 2005 installation
> directory. So you
> will probably have to correct the property value msvcr.url.x86_64 in
> classlib's depends.properties.
>
>> On 3/19/07, Vladimir Beliaev <[EMAIL PROTECTED]> wrote:
>>>> Oh, I didn't know Windows/EM64T is included in build regression.
>>>
>>> I can't believe it :)
>>>
>>> About 38 JIRAs (drlvm only, w/o classlib) were reported & fixed for
>>> windows/em64t by different people during passed 4 weeks... I thought
>>> everyone are speaking only about windows/em64t enabling...
>>>
>>> I've posted simple workaround for
>>> http://issues.apache.org/jira/browse/HARMONY-3421.
>>>
>>> Thanks
>>> Vladimir Beliaev
>>>
>>> Xiao-Feng Li wrote:
>>>> Oh, I didn't know Windows/EM64T is included in build regression.
>>>>
>>>> Will fix it. Thanks.
>>>>
>>>> xiaofeng
>>>>
>>>> On 3/19/07, Vladimir Beliaev <[EMAIL PROTECTED]> wrote:
>>>>> Recent changes in gc_gen breaks the windows/em64t build.
>>>>>
>>>>> Please get it fixed - I've opened HARMONY-3421  for it.
>>>>>
>>>>> Please get the build gc_gen warnings on windows/em64t fixed too.
>>>>>
>>>>> Please get your changes checked on windows/em64t (at reasonable
>>>>> level
>>>>> - just a 'build' in case of gc_gen).
>>>>>
>>>>> Thanks
>>>>> Vladimir Beliaev
>
> --
> Gregory





Reply via email to