RFC: Alternative for exemaker

Matt Mackall mpm at selenic.com
Thu Jun 28 12:32:13 CDT 2012


On Thu, 2012-06-28 at 18:48 +0200, Adrian Buehlmann wrote:
> On 2012-06-27 18:30, Matt Mackall wrote:
> > Ok, tip now compiles cleanly with:
> > 
> >  gcc -Ic:\python26\include -Lc:\python26\libs -Lpython26 hg.c -o hg.exe
> > 
> > So I think this is now in a state where we should include it in our tree
> > (and possibly in our build process).
> 
> Into what directory should hg.c go?

I was thinking mercurial/hgexe.c is probably the right place for it. 

> Seen on terminal:
> 
>   $ python setup.py build
>   ...
>   running build_hgexe
>   C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Python\include -IC:\Python\PC /Tchg.c /Fobuild\temp.win-amd64-2.7\Release\hg.obj
>   hg.c
> 
> 
> which looks like a good start.

That looks promising. My first inclination would have been to hack up
Makefile, since I'm quite averse to distutils hacking.


-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list