Re: Mercurial vs Updated git HOWTO for kernel hackers

From: Sven Verdoolaege <skimo@kotnet.org>
Date: 2005-06-29 01:15:22
On Tue, Jun 28, 2005 at 05:07:52PM +0200, Petr Baudis wrote:
> Dear diary, on Fri, Jun 24, 2005 at 03:57:00PM CEST, I got a letter
> where Kevin Smith <yarcs@qualitycode.com> told me that...
> > - Can run on (native) MS Windows
> >   (necessary for me because I often work on cross-platform projects)
> 
> I'd expect everything to work fine with Cygwin (or with only minor
> problems easy to fix) or just any working bash + GNU coreutils
> installation. Any issue with that?

The code is full of Unixisms.  You'd almost think that the authors
of git have some kind of affinity towards Unix.

i386-mingw32-gcc -g -O2 -Wall '-DSHA1_HEADER=<openssl/sha.h>'   -c -o read-cache.o read-cache.c
In file included from read-cache.c:6:
cache.h:14:22: sys/mman.h: No such file or directory
cache.h:16:24: netinet/in.h: No such file or directory
In file included from read-cache.c:6:
cache.h: In function `create_ce_mode':
cache.h:104: warning: implicit declaration of function `S_ISLNK'
cache.h:105: warning: implicit declaration of function `htonl'
cache.h:105: error: `S_IFLNK' undeclared (first use in this function)
cache.h:105: error: (Each undeclared identifier is reported only once
cache.h:105: error: for each function it appears in.)
[..]
read-cache.c:376: warning: implicit declaration of function `mmap'
read-cache.c:376: error: `PROT_READ' undeclared (first use in this function)
read-cache.c:376: error: `PROT_WRITE' undeclared (first use in this function)
read-cache.c:376: error: `MAP_PRIVATE' undeclared (first use in this function)
read-cache.c:376: warning: assignment makes pointer from integer without a cast
read-cache.c:399: warning: implicit declaration of function `munmap'
[..]

skimo
-
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
Received on Wed Jun 29 01:30:04 2005

This archive was generated by hypermail 2.1.8 : 2005-06-29 01:30:07 EST