[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[Patch] Allow x64 compilation on windows

From: Bert Huijben <B.Huijben_at_competence.biz>
Date: 2007-09-21 10:37:02 CEST

        Hi,

The attached patch allows compiling subversion for Win64/x64. Windows
defines WIN64 as an extended WIN32, so I had to update the crash
handler.

To update the crash handler I replaced our use of the 32 bit debug api
with the 64 bit api's which are available on all 32 and 64 bit Windows
versions since dbghelp 5.1 (Our crash handler already checked for
version 6.6.7.5, so I don't think this is a problem)

I added an x64 platform to the solutions and project files for x64 (and
fixed several of the vc.net templates to use the platform definition
correctly).

The new projects won't allow cross compilation for different platforms
using the same working copy at this time. (The dependencies are not
tracked per platform by the python scripting)

[[[
* build/generator/gen_win.py
   Added 'x64' platform

* build/generator/neon.vcproj.ezt
* build/generator/serf.vcproj.ezt
* build/generator/svn_config.vcproj.ezt
* build/generator/svn_locale.vcproj.ezt
* build/generator/zlib.vcproj.ezt
  Added 'x64' debug and release configurations
* build/generator/vcnet_vcproj.ezt
  Fixed platform configuration generation to use [platforms] macro
instead of 'Win32'
* subversion/libsvn_subr/win32_crashrpt_dll.h
* subversion/libsvn_subr/win32_crashrpt.c
  Use 5.1+ DbgHelp api to enable the crash handler on non x86 cpu's

Patch by: Bert Huijben <bhuijben@competence.biz>
]]]

I needed to compile a x64 version of subversion to include in the x64
version of my .Net subversion library (see
http://code.google.com/p/sharpsvn/), which should be available shortly
after the release of subversion 1.5.

        Bert

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Fri Sep 21 10:37:23 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.