* Re: What's the status of MinGW port.
@ 2008-09-08 8:22 dhruva
2008-09-08 10:46 ` [PATCH] Windows: git-shell can be compiled again Johannes Sixt
0 siblings, 1 reply; 8+ messages in thread
From: dhruva @ 2008-09-08 8:22 UTC (permalink / raw)
To: Johannes Sixt, Kevin Yu; +Cc: git
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:
diff --git a/Makefile b/Makefile
index dfed7ba..d5a3327 100644
--- a/Makefile
+++ b/Makefile
@@ -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 ----
> From: Johannes Sixt <j.sixt@viscovery.net>
> To: Kevin Yu <yujie052@gmail.com>
> Cc: git@vger.kernel.org
> Sent: Monday, 8 September, 2008 12:38:08 PM
> Subject: Re: What's the status of MinGW port.
>
> Kevin Yu schrieb:
> > 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).
>
> -- Hannes
>
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
Get an email ID as yourname@ymail.com or yourname@rocketmail.com. Click here http://in.promos.yahoo.com/address
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH] Windows: git-shell can be compiled again
2008-09-08 8:22 What's the status of MinGW port dhruva
@ 2008-09-08 10:46 ` Johannes Sixt
0 siblings, 0 replies; 8+ messages in thread
From: Johannes Sixt @ 2008-09-08 10:46 UTC (permalink / raw)
To: dhruva; +Cc: Kevin Yu, git, Junio C Hamano
From: Johannes Sixt <johannes.sixt@telecom.at>
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.)
Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
---
dhruva schrieb:
> 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.
> 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(-)
diff --git a/Makefile b/Makefile
index dfed7ba..37575f4 100644
--- a/Makefile
+++ b/Makefile
@@ -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
--
1.6.0.1.1208.g0bd3.dirty
^ permalink raw reply related [flat|nested] 8+ messages in thread
[parent not found: <42b562540809072128o62854572y1eb8d2e69e7193f1@mail.gmail.com>]
* What's the status of MinGW port.
[not found] <42b562540809072128o62854572y1eb8d2e69e7193f1@mail.gmail.com>
@ 2008-09-08 4:34 ` Kevin Yu
2008-09-08 7:08 ` Johannes Sixt
0 siblings, 1 reply; 8+ messages in thread
From: Kevin Yu @ 2008-09-08 4:34 UTC (permalink / raw)
To: git
Hi,
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?
Anyway GIT is great. :).
Best wishes.
Kevin
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: What's the status of MinGW port.
2008-09-08 4:34 ` What's the status of MinGW port Kevin Yu
@ 2008-09-08 7:08 ` Johannes Sixt
2008-09-08 11:03 ` Tait
0 siblings, 1 reply; 8+ messages in thread
From: Johannes Sixt @ 2008-09-08 7:08 UTC (permalink / raw)
To: Kevin Yu; +Cc: git
Kevin Yu schrieb:
> 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).
-- Hannes
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: What's the status of MinGW port.
2008-09-08 7:08 ` Johannes Sixt
@ 2008-09-08 11:03 ` Tait
2008-09-08 11:24 ` Andreas Ericsson
0 siblings, 1 reply; 8+ messages in thread
From: Tait @ 2008-09-08 11:03 UTC (permalink / raw)
To: git
> > Is there any plan to create a native version of GIT on MS Windows?
>
> There are no plans anymore to create such a thing.
Out of curiosity, any particular reason why not?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: What's the status of MinGW port.
2008-09-08 11:03 ` Tait
@ 2008-09-08 11:24 ` Andreas Ericsson
2008-09-08 18:18 ` Tait
0 siblings, 1 reply; 8+ messages in thread
From: Andreas Ericsson @ 2008-09-08 11:24 UTC (permalink / raw)
To: Tait; +Cc: git
Tait wrote:
>>> Is there any plan to create a native version of GIT on MS Windows?
>> There are no plans anymore to create such a thing.
>
> Out of curiosity, any particular reason why not?
>
He mentioned it in the very next sentence: It already exists.
I guess this is beyond your attention span, but I'll say it anyway; Please
read the entire email before responding. You'll save yourself a lot of
embarrassment that way.
--
Andreas Ericsson andreas.ericsson@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: What's the status of MinGW port.
2008-09-08 11:24 ` Andreas Ericsson
@ 2008-09-08 18:18 ` Tait
2008-09-08 18:30 ` Peter Harris
0 siblings, 1 reply; 8+ messages in thread
From: Tait @ 2008-09-08 18:18 UTC (permalink / raw)
To: git
>>>> Is there any plan to create a native version of GIT on MS Windows?
>>>There are no plans anymore to create such a thing.
>>
>>Out of curiosity, any particular reason why not?
>
> He mentioned it in the very next sentence: It already exists.
>
> I guess this is beyond your attention span...
The personal attack was unnecessary, and no, I'm not inattentive, thank you.
My understanding is that MinGW is a POSIX emulation layer; the underlying
code is still using POSIX functions like fork and exec that aren't native
to Windows. When I said "native" I meant "not POSIX" -- i.e. using the
Windows API directly instead of through some kind of munging layer.
So I'll ask again, is there any particular reason why a _native_ Windows
Git hasn't been attempted (or was abandoned, or whatever)?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: What's the status of MinGW port.
2008-09-08 18:18 ` Tait
@ 2008-09-08 18:30 ` Peter Harris
0 siblings, 0 replies; 8+ messages in thread
From: Peter Harris @ 2008-09-08 18:30 UTC (permalink / raw)
To: Tait; +Cc: git
On Mon, Sep 8, 2008 at 2:18 PM, Tait wrote:
> My understanding is that MinGW is a POSIX emulation layer; the underlying
> code is still using POSIX functions like fork and exec that aren't native
> to Windows.
Your understanding is flawed. You're probably thinking of MSYS or
CYGWIN. MinGW is a native Win32 port of gcc.
> So I'll ask again, is there any particular reason why a _native_ Windows
> Git hasn't been attempted (or was abandoned, or whatever)?
MinGW-git is a native Windows application.
Some of the utilities bundled with "msysgit" (eg. bash, rxvt, perl,
and therefore git-svn) use the MSYS POSIX emulation layer, but the git
core is native.
Peter Harris
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-09-08 18:32 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-08 8:22 What's the status of MinGW port dhruva
2008-09-08 10:46 ` [PATCH] Windows: git-shell can be compiled again Johannes Sixt
[not found] <42b562540809072128o62854572y1eb8d2e69e7193f1@mail.gmail.com>
2008-09-08 4:34 ` What's the status of MinGW port Kevin Yu
2008-09-08 7:08 ` Johannes Sixt
2008-09-08 11:03 ` Tait
2008-09-08 11:24 ` Andreas Ericsson
2008-09-08 18:18 ` Tait
2008-09-08 18:30 ` Peter Harris
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).