git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git on cygwin
@ 2006-11-25 14:38 Eric Blake
  2006-11-25 14:58 ` Jakub Narebski
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Blake @ 2006-11-25 14:38 UTC (permalink / raw)
  To: git

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I found the following patch useful for building git 1.4.4.1 on cygwin.  As
of cygwin-1.5.22, C99 format strings are now supported (since I
contributed the newlib patch that added them).  As of cygwin-1.5.21, d_ino
is now reliable for all cygwin filesystem accesses (except for some remote
NetApp drives, which have been fixed in cygwin CVS).  And while it is true
that native Windows does not support symlinks, making NO_SYMLINK_HEAD a
good idea for native builds; this is not the case for cygwin, and I did
not seem to have any problems with removing it, either.

- --- origsrc/git-1.4.4.1/Makefile        2006-11-22 19:38:07.000000000 -0700
+++ src/git-1.4.4.1/Makefile    2006-11-24 17:51:00.600344000 -0700
@@ -369,11 +369,8 @@
 endif
 ifeq ($(uname_O),Cygwin)
        NO_D_TYPE_IN_DIRENT = YesPlease
- -       NO_D_INO_IN_DIRENT = YesPlease
        NO_STRCASESTR = YesPlease
- -       NO_SYMLINK_HEAD = YesPlease
        NEEDS_LIBICONV = YesPlease
- -       NO_C99_FORMAT = YesPlease
        # There are conflicting reports about this.
        # On some boxes NO_MMAP is needed, and not so elsewhere.
        # Try uncommenting this if you see things break -- YMMV.

- --
Life is short - so eat dessert first!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFaFVe84KuGfSFAYARAjdrAJ9A+d9/aaEG0V2j8VTs/oycIpUS0wCeL/Ly
70V5CWHOrAKD7kI09gQiTh0=
=C8dP

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: git on cygwin
  2006-11-25 14:38 git on cygwin Eric Blake
@ 2006-11-25 14:58 ` Jakub Narebski
  0 siblings, 0 replies; 2+ messages in thread
From: Jakub Narebski @ 2006-11-25 14:58 UTC (permalink / raw)
  To: git

Eric Blake wrote:

> I found the following patch useful for building git 1.4.4.1 on cygwin.  As
> of cygwin-1.5.22, C99 format strings are now supported (since I
> contributed the newlib patch that added them).  As of cygwin-1.5.21, d_ino
> is now reliable for all cygwin filesystem accesses (except for some remote
> NetApp drives, which have been fixed in cygwin CVS).  And while it is true
> that native Windows does not support symlinks, making NO_SYMLINK_HEAD a
> good idea for native builds; this is not the case for cygwin, and I did
> not seem to have any problems with removing it, either.

By the way, does ./configure script (make configure && ./configure)
detect this correctly?

BTW. symlink HEAD is considered obsolete.
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-11-25 14:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-25 14:38 git on cygwin Eric Blake
2006-11-25 14:58 ` Jakub Narebski

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).