make-w32
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make CVS HEAD version build out of the box


From: Eli Zaretskii
Subject: Re: Make CVS HEAD version build out of the box
Date: Mon, 01 Oct 2007 11:53:37 +0200

> Date: Mon, 1 Oct 2007 13:12:41 +0800
> From: "Yongwei Wu" <address@hidden>
> Cc: address@hidden
> 
> (Slapping myself) sorry for my folly.  With your information I
> successfully built Make under Cygwin:
> 
> autoreconf -i
> ./configure --build=i686-pc-mingw32 CC='gcc -mno-cygwin'
> cd w32 && make && cd ..
> make make.exe

Beware: the make.exe binary produced in this way is not guaranteed to
behave like intended.  This is because this way of building a native
Windows port of Make is not officially supported.  As one caveat, you
will see that config.h.W32.template has near its end a few symbols
whose definition changes Make's behavior wrt program invocation with
various shells you might have installed: I'm not sure what the
configure script does with those definitions, so please at least look
at those symbols and verify that the binary you produced will behave
as you'd like it to.

> I saw now the way my copying config.h.W32.template to config.h was not
> correct.  Do I have to manually replace %PACKAGE% and %VERSION%?  Is
> there an easy way?

Well, you could edit it with Sed, instead of just copying.  Someone
who dares to build a CVS version can be expected to have Sed
installed.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]