Quoting Eli Zaretskii <[EMAIL PROTECTED]>:
Date: Fri, 17 Nov 2006 08:36:01 +0100
From: Benoit Sigoure <[EMAIL PROTECTED]>
>
> 2006-11-16 Eli Zaretskii <[EMAIL PROTECTED]>
>
> * main.c (main) [HAVE_DOS_PATHS]: Treat DOS style argv[0] with
> backslashes and drive letters as absolute.
>
> --- main.c~0 2006-03-20 06:36:37.000000000 +0200
> +++ main.c 2006-11-16 23:04:00.642263000 +0200
> [SNIP]
$ pwd
/tmp
$ rm -rf make-3.81 && md5sum make-3.81.tar.gz && tar xfz
make-3.81.tar.gz && cd
make-3.81 && patch -p0 < ../make_patch2 && ./configure && make && cd
/tmp/mk/3
&& /tmp/make-3.81/make && C:/cygwin/tmp/make-3.81/make
a4e9494ac6dc3f6b0c5ff75c5d52abba *make-3.81.tar.gz
[SNIP]
make: *** [all] Error 127
Did you patch the stock Cygwin sources of Make 3.81 or the ones that
have the HAVE_DOS_PATHS patch applied? The patch I sent will only
work with the latter, not with the former.
OK I got it wrong then since I patched the stock make sources.
# starting with a stock make-3.81
$ patch -p0 < ../make_patch2 # The patch snipped above
patching file main.c
$ patch -p1 < ~/svn/buildfarm/windows/make-3.81-cygwin.patch
# The patch @
http://thread.gmane.org/gmane.comp.gnu.make.windows/2058/focus=2147
patching file configure.in
patching file make.h
patching file config/dospaths.m4
patching file job.c
$ ./configure && make && cd /tmp/mk/3 && C:/cygwin/tmp/make-3.81/make
echo C:/cygwin/tmp/make-3.81/make
C:/cygwin/tmp/make-3.81/make
C:/cygwin/tmp/make-3.81/make foo
make[1]: Entering directory `/tmp/mk/3'
echo foo
foo
make[1]: Leaving directory `/tmp/mk/3'
Hooray \o/
Thank you!
--
SIGOURE Benoit aka Tsuna
_____
/EPITA\ Promo 2008, LRDE
_______________________________________________
Make-w32 mailing list
Make-w32@gnu.org
http://lists.gnu.org/mailman/listinfo/make-w32