Skip to contentSkip to conversation

What's the status of MinGW port.

PATCH New dhruva 2 participants 2 messages Jun 15, 2016 Kbuild

lore
Share & tools
lore

dhruva

author
#0 lore raw

Hi,
I cloned the git repo from 'git://git2.kernel.org/pub/scm/git/git.git'. I had an earlier msysGIT with build environment. I just got into the msys (bash) environment and ran a 'gmake'. It built fine on Windows XP. I thank everyone involved in making git work on windoze. It really makes it a lot more easier to push git as a serious dVCS in the corporate world with development hapenning on different platforms :-) Once I iron out git-p4, hoping to say "Git the hell out of here ... p4" soon.

A trivial issue in install:
'gmake install' had a small issue in trying to install non existant 'git-shell.exe'. The following trivial patch on master to Makefile handles that:

Makefile +0 -1
index dfed7ba..d5a3327 100644
@@ -1365,7 +1365,10 @@ install: all
        $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(bindir_SQ)'
        $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(gitexec_instdir_SQ)'
        $(INSTALL) $(ALL_PROGRAMS) '$(DESTDIR_SQ)$(gitexec_instdir_SQ)'
-       $(INSTALL) git$X git-upload-pack$X git-receive-pack$X git-upload-archive

$X git-shell$X '$(DESTDIR_SQ)$(bindir_SQ)'
+ifndef NO_POSIX_ONLY_PROGRAMS
+ $(INSTALL) git-shell$X '$(DESTDIR_SQ)$(bindir_SQ)'
+endif
+ $(INSTALL) git$X git-upload-pack$X git-receive-pack$X git-upload-archive
$X '$(DESTDIR_SQ)$(bindir_SQ)'

        $(MAKE) -C templates DESTDIR='$(DESTDIR_SQ)' install
        $(MAKE) -C perl prefix='$(prefix_SQ)' DESTDIR='$(DESTDIR_SQ)' install

ifndef NO_TCLTK

-dhruva

----- Original Message ----

Quoted 19 lines

From: Johannes Sixt <[email protected]>
To: Kevin Yu <[email protected]>
Cc: [email protected]
Sent: Monday, 8 September, 2008 12:38:08 PM
Subject: Re: What's the status of MinGW port.

Quoted 4 lines · Kevin Yu

GIT is a great tool, but I'm running Windows XP.
It seems like msysgit hasn't been updated for a long time,
neither has the mingw.git branch.
Is there any plan to create a native version of GIT on MS Windows?

There are no plans anymore to create such a thing.

It is already there: http://code.google.com/p/msysgit/

If the lack of activity is worrysome to you, you could help create a release tarball for 1.6..0(.x).

Quoted 6 lines

-- Hannes

--
To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Get an email ID as [email protected] or [email protected]. Click here http://in.promos.yahoo.com/address

#1 lore raw

PATCH 1/1 Windows: git-shell can be compiled again

From: Johannes Sixt <[email protected]>

The reason that git-shell was excluded from the Windows build was that our compatibility layer needed stuff that was removed when we tried to link less of the git library into git-shell. Since 4cfc24afc9ff the complete library is linked again, so we can build git-shell on Windows as well. (This fixes 'make install', which depends on that git-shell is always built.)

---

Quoted 3 lines · dhruva

I cloned the git repo from 'git://git2.kernel.org/pub/scm/git/git.git'.
I had an earlier msysGIT with build environment. I just got into the msys (bash) environment and ran a 'gmake'. It built fine on Windows XP.

This is good to know.

Quoted 4 lines

A trivial issue in install:
'gmake install' had a small issue in trying to install non existant 'git-shell.exe'. The following trivial patch on master to Makefile handles that:

Thanks for bringing up the issue. I was a bit careless reviewing the changes in that area. Here is a better fix.

-- Hannes

 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Makefile +1 -1
index dfed7ba..37575f4 100644
@@ -296,6 +296,7 @@ PROGRAMS += git-pack-redundant$X
 PROGRAMS += git-patch-id$X
 PROGRAMS += git-receive-pack$X
 PROGRAMS += git-send-pack$X
+PROGRAMS += git-shell$X
 PROGRAMS += git-show-index$X
 PROGRAMS += git-unpack-file$X
 PROGRAMS += git-update-server-info$X
@@ -834,7 +835,6 @@ EXTLIBS += -lz
 ifndef NO_POSIX_ONLY_PROGRAMS
 	PROGRAMS += git-daemon$X
 	PROGRAMS += git-imap-send$X
-	PROGRAMS += git-shell$X
 endif
 ifndef NO_OPENSSL
 	OPENSSL_LIBSSL = -lssl
Signature · 1 line
1.6.0.1.1208.g0bd3.dirty