x64 hg.exe

Adrian Buehlmann adrian at cadifra.com
Thu Jun 21 20:42:36 CDT 2012


I've built an exemaker exe

  hg-x64-385eaa517487.exe

using

  https://bitbucket.org/timeless/exemaker

and uploaded it to

  https://bitbucket.org/abuehl/downloads/downloads

Rename it to hg.exe and place it at the root of the mercurial clone.

Copy the hg file to hg.py, replace the first line with

  #!C:\Windows\system32\python27.dll

(for a global installed Python 2.7)


Use the exe at your own risk. See

  https://bitbucket.org/timeless/exemaker/src/385eaa517487/README

for the license.


I've compiled it using the Windows SDK by executing

  cmd.exe /E:ON /V:ON /K "C:\Program Files\Microsoft SDKs\Windows\v7.0\Bin\SetEnv.cmd" /xp /x64 /Release

and then in that shell

  $ cd <to exemaker clone root dir>
  $ nmake /f Makefile.nmake

where Makefile.nmake contains:

<paste>
OBJECTS = exemaker.obj

LIBS    = user32.lib gdi32.lib shell32.lib kernel32.lib

CFLAGS = /nologo /Ox /W2 /EHsc /MD /DWINDOWS
LDFLAGS  = /nologo /INCREMENTAL:NO /MANIFEST $(LIBS) /SUBSYSTEM:CONSOLE

TARGET = exemaker.exe

all: $(TARGET)

clean:
    del *.obj *.lib *.exp *.manifest *.res $(TARGET)
    
$(TARGET): $(OBJECTS)
    link /OUT:$@ $(LDFLAGS) $(OBJECTS)
    mt -nologo -manifest $@.manifest -outputresource:"$@;#1"
</paste>


More information about the Mercurial-devel mailing list