At 04:29 PM 12/22/2010, Richard Hipp wrote:
 >I spent a very frustrating morning on Monday, downloading mingw
 >and trying to get the makefile to work on a new windows7 box I
 >have sitting off to might right.  It appears that getting the
 >makefile to work on win7 will be very hard indeed.  If anybody
 >has any hints, I would like to hear them.  At the moment, the
 >only thing I can think to do is to completely rework the entire
 >build process to not depend on standard unix tools like "make"
 >and "awk" and "sed" since they just do not work or do not exist
 >on mingw/windows7.
 >....

This ought to work "out of the box" if you add MSYS to your MinGW
installation. Alternatively, there are builds of most of the
common *nix utilities available from the GnuWin32 project
(gnuwin32.sourceforge.net). I know that they provide builds of
both sed and awk. Assuming you use Gnu Make built natively for
Windows (also available from GnuWin32), then it ought to be
possible to get it to build from a CMD prompt without the MSYS
port of bash and friends. I have built fossil here under WinXP
using some combination of the above tricks, but that PC is now
retired and I haven't had a reason to build fossil myself since I
replaced it with a new Win 7 Pro machine.

If your Win 7 is either Professional or Ultimate (but not Home
Premium) then another approach is to install Virtual PC and the
highly integrated XP Mode. That gets you a virtual machine
running a fully licensed XP SP3. (With Home Premium, you can
still use Virtual PC, but you don't get an XP license to run in
it so you'd have to provide one separately.)

This is a useful thing to do if you want and need to test things
in 32-bit XP as well as under Win 7 64-bit, or if you have tools
that cannot run in Win 7 for some obscure reason. If you had a
known to work build recipe for XP, then this might be an approach.

I will take some time "soon" to work out what the build recipe
for MinGW on Win7Pro 64-bit can be, and specifically what
packages other than MinGW are required to get it to build. I'll
report back to the list if someone doesn't beat me to it.

Ross Berteig                               r...@cheshireeng.com
Cheshire Engineering Corp.           http://www.CheshireEng.com/

_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to