Subject: Re: [PATCH 13/14] Add README for MSVC build

From: Marius Storm-Olsen <[email-masked]>
Date: Wed, 16 Sep 2009 07:26:40 +0200

Thiago Farina said the following on 16.09.2009 03:22:
> On Tue, Sep 15, 2009 at 10:44 AM, Marius Storm-Olsen <[email-masked]> wrote:
>> Based on original README patch from Frank Li
>>
>> Signed-off-by: Marius Storm-Olsen <[email-masked]>
>> ---
>>  compat/vcbuild/README |   39 +++++++++++++++++++++++++++++++++++++++
>>  1 files changed, 39 insertions(+), 0 deletions(-)
>>  create mode 100644 compat/vcbuild/README
>>
>> diff --git a/compat/vcbuild/README b/compat/vcbuild/README
>> new file mode 100644
>> index 0000000..5d7a07a
>> --- /dev/null
>> +++ b/compat/vcbuild/README
>> @@ -0,0 +1,39 @@
>> +The Steps of Build Git with VS2008
>> +
>> +1. You need the build environment, which contains the Git dependencies
>> +   to be able to compile, link and run Git with MSVC.
>> +
>> +   You can either use the binary repository:
>> +
>> +       WWW: http://repo.or.cz/w/msvcgit.git
>> +       Git: git clone git://repo.or.cz/msvcgit.git
>> +       Zip: http://repo.or.cz/w/msvcgit.git?a=snapshot;h=master;sf=zip
>> +
>> +   and call the setup_32bit_env.cmd batch script before compiling Git,
>> +   (see repo/package README for details), or the source repository:
>> +
>> +       WWW: http://repo.or.cz/w/gitbuild.git
>> +       Git: git clone git://repo.or.cz/gitbuild.git
>> +       Zip: (None, as it's a project with submodules)
>> +
>> +   and build the support libs as instructed in that repo/package.
>> +
>> +2. Ensure you have the msysgit environment in your path, so you have
>> +   GNU Make, bash and perl available.
>> +
>> +       WWW: http://repo.or.cz/w/msysgit.git
>> +       Git: git clone git://repo.or.cz/msysgit.git
>> +       Zip: http://repo.or.cz/w/msysgit.git?a=snapshot;h=master;sf=zip
>> +
>> +   This environment is also needed when you use the resulting
>> +   executables, since Git might need to run scripts which are part of
>> +   the git operations.
>> +
>> +4. Inside Git's directory run the command:
> Shouldn't be 3.?
>> +       make common-cmds.h
>> +   to generate the common-cmds.h file needed to compile git.
>> +
>> +5. Then build Git with the GNU Make Makefile in the Git projects root
> 4.?

Heh, you're right.. I've been modifying this file too much lately :-)

--
.marius