git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Nguyen Thai Ngoc Duy" <pclouds@gmail.com>
To: "Marius Storm-Olsen" <marius@trolltech.com>
Cc: "Johannes Schindelin" <Johannes.Schindelin@gmx.de>, git@vger.kernel.org
Subject: Re: Git on MSys (or how to make it easy for Windows users to compile git)
Date: Fri, 3 Aug 2007 08:14:01 -0400	[thread overview]
Message-ID: <fcaeb9bf0708030514n7f1c4fecqf7c850d216d0583@mail.gmail.com> (raw)
In-Reply-To: <46B314E6.8030806@trolltech.com>

[-- Attachment #1: Type: text/plain, Size: 1077 bytes --]

[CC'd to git ML so that if anyone needs it again, google might help]

On 8/3/07, Marius Storm-Olsen <marius@trolltech.com> wrote:
> >>> Even if it installs ok under Wine, git may not work properly
> >>> because a bug in dup2() not duplicating to 0-2 and some others
> >>> that I think only affect tests. So get XP if you can or prepare
> >>> to fix Wine along the way.
> >> Yeah, I wasn't going to use it under Wine actually. Just wanted
> >> to see if I could get it building there, to ease automated
> >> packaging later. However, I've given up on it, due to a perl
> >> issue, which might be caused by the issue you describe.
> >
> > You could cross-compile it. You'll need a cross toolchain, zlib
> > stuff and a good config.mak (I can send you one if you have trouble
> > with it).
>
> I would definitely be interested in your config.mak file!

Rename the attached file config.mak and you can "make" right away
without running configure. You still need to set CFLAGS and LDFLAGS to
specify location of zlib.h and libz.a though.

> Thanks!
>
> --
> .marius
>
>
>


-- 
Duy

[-- Attachment #2: config.mak --]
[-- Type: application/octet-stream, Size: 1608 bytes --]

# git Makefile configuration, included in main Makefile
# config.mak.autogen.  Generated from config.mak.in config.mak.append by configure.

CC = mingw32-gcc
CFLAGS = -g -O2
AR = mingw32-ar
TAR = tar
#INSTALL = @INSTALL@		# needs install-sh or install.sh in sources
TCLTK_PATH = wish

prefix = /usr/local
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
#gitexecdir = ${exec_prefix}/libexec/git-core/
datarootdir = ${prefix}/share
template_dir = ${datarootdir}/git-core/templates/

mandir=${datarootdir}/man

srcdir = .


export exec_prefix mandir
export srcdir VPATH

NO_MMAP=YesPlease
NO_PREAD=YesPlease
NO_OPENSSL=YesPlease
NO_CURL=YesPlease
NO_SYMLINK_HEAD=YesPlease
NO_IPV6=YesPlease
NO_ETC_PASSWD=YesPlease
NO_SETENV=YesPlease
NO_UNSETENV=YesPlease
NO_STRCASESTR=YesPlease
NO_STRLCPY=YesPlease
NO_ICONV=YesPlease
NO_C99_FORMAT = YesPlease
NO_STRTOUMAX = YesPlease
NO_SYMLINKS=YesPlease
NO_SVN_TESTS=YesPlease

COMPAT_CFLAGS += -DNO_ETC_PASSWD -DNO_ST_BLOCKS -DSTRIP_EXTENSION=\".exe\" -I compat
COMPAT_OBJS += compat/mingw.o compat/fnmatch.o compat/regex.o
EXTLIBS += -lws2_32
X = .exe
NOEXECTEMPL = .noexec
template_dir = ../share/git-core/templates/
ETC_GITCONFIG = ../etc/gitconfig
SCRIPT_SH += cpio.sh
NEEDS_SSL_WITH_CRYPTO=
NO_OPENSSL=YesPlease
NO_CURL=YesPlease
NO_EXPAT=YesPlease
NEEDS_LIBICONV=
NEEDS_SOCKET=
SHELL_PATH=/bin/sh
NO_PERL_MAKEMAKER=
NO_D_INO_IN_DIRENT=
NO_D_TYPE_IN_DIRENT=YesPlease
NO_SOCKADDR_STORAGE=
NO_IPV6=YesPlease
NO_C99_FORMAT=YesPlease
NO_STRCASESTR=YesPlease
NO_STRLCPY=YesPlease
NO_SETENV=YesPlease
NO_ICONV=YesPlease

# config.mak.append.  Generated by configure.

  reply	other threads:[~2007-08-03 12:14 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-02 21:23 Git on MSys (or how to make it easy for Windows users to compile git) Johannes Schindelin
2007-08-03  6:56 ` Dmitry Kakurin
2007-08-03  7:10   ` Marius Storm-Olsen
2007-08-03  9:58     ` Dmitry Kakurin
2007-08-03 11:43       ` Johannes Schindelin
2007-08-03 21:14         ` Dmitry Kakurin
2007-08-03 11:50       ` Johannes Schindelin
2007-08-03 12:47         ` Johannes Schindelin
2007-08-03 13:11           ` Marius Storm-Olsen
2007-08-03 13:37             ` Johannes Schindelin
2007-08-03 12:37       ` Johannes Schindelin
2007-08-03 13:08         ` Marius Storm-Olsen
2007-08-03 13:18           ` Johannes Schindelin
2007-08-03 13:24             ` Marius Storm-Olsen
2007-08-03 13:34               ` Johannes Schindelin
2007-08-03 15:34                 ` Marius Storm-Olsen
2007-08-03 16:46                   ` Johannes Schindelin
2007-08-03 17:53                     ` Marius Storm-Olsen
2007-08-03 18:33                       ` Mike Pape
2007-08-03 18:39                         ` Marius Storm-Olsen
2007-08-03 18:55                           ` Johannes Schindelin
2007-08-03 18:59                             ` Marius Storm-Olsen
2007-08-03 19:13                               ` Mike Pape
2007-08-03 19:18                                 ` Marius Storm-Olsen
2007-08-03 19:33                                 ` Johannes Schindelin
2007-08-03 21:21                                   ` Johannes Schindelin
2007-08-03 18:57                         ` Johannes Schindelin
2007-08-03 21:21         ` Dmitry Kakurin
2007-08-03 21:32           ` Johannes Schindelin
2007-08-04  0:16             ` Torgil Svensson
2007-08-04  0:26               ` Johannes Schindelin
2007-08-05 23:41                 ` Torgil Svensson
2007-08-06  0:11                   ` Johannes Schindelin
2007-08-06  5:47                     ` Marius Storm-Olsen
2007-08-06 10:24                       ` Johannes Schindelin
2007-08-06 11:35                         ` Marius Storm-Olsen
2007-08-09  8:47                       ` Alex Riesen
2007-08-09  9:14                         ` Johannes Schindelin
2007-08-09 13:55                           ` Alex Riesen
2007-08-06 14:30                     ` Torgil Svensson
2007-08-06 14:37                       ` Johannes Schindelin
2007-08-03  7:12 ` Marius Storm-Olsen
2007-08-03  7:25   ` Marius Storm-Olsen
2007-08-03 11:17   ` Nguyen Thai Ngoc Duy
2007-08-03 11:29     ` Marius Storm-Olsen
2007-08-03 11:36       ` Nguyen Thai Ngoc Duy
2007-08-03 11:43         ` Marius Storm-Olsen
2007-08-03 12:14           ` Nguyen Thai Ngoc Duy [this message]
2007-08-03 12:32             ` Marius Storm-Olsen
2007-08-03 11:37     ` Johannes Schindelin
2007-08-03 11:48       ` Nguyen Thai Ngoc Duy
2007-08-03 11:59         ` Johannes Schindelin
2007-08-03  8:59 ` Matthieu Moy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fcaeb9bf0708030514n7f1c4fecqf7c850d216d0583@mail.gmail.com \
    --to=pclouds@gmail.com \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=marius@trolltech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).