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.
I finally gave up in frustration and just did a new build, hoping that would satisfy the needs of windows users for the time being. See http://www.fossil-scm.org/download.html for the new build. Note that the win32 builds on the website are generated by running mingw configured as a cross-compiler and running on Linux. So "make" works as advertised and I have "awk" and "sed" and all the usual tools that make life so easy and pleasant and stress-free on unix. I also have a brand new copy of VS2010 on my brand new win7 box. Does anybody have any suggestions on how we might get VS2010 to compile Fossil? Recognize that (as with most of the software I write) the "source code" is not really C code, but rather text that looks a lot like C but which gets additional processing prior to being input to the C compiler. In the case of Fossil, the "C-source-modules" are first processed by a program (source code included) called "mkindex", then another program called "translate", then a third program called "makeheaders". Then there is an AWK script that runs to generate some additional header information. Finally, the output of all of the above is ready to go into the C compiler. But VS2010 seems to be of the opinion that all "source code" should be plain and simple C code (or C# or whatever) and not require any preprocessing by other utilities. Somebody correct me if I'm wrong. Is there any (reasonable) way to get VS2010 to compile preprocessor programs then run them over source text in order to generate the C code for input to the compiler? It isn't like that is a novel technique or anything - programmers have been doing that sort of thing for a least 4 decades now (that I know of) and probably much longer. Would anybody care to contribute a VS2010 "project" or "solution" that will compile Fossil? Your input would be greatly appreciated. On Tue, Dec 21, 2010 at 9:00 AM, <[email protected]> wrote: > OBJDIR = ./wobj in Makefile.w32 > > > -----Original Message----- > From: Richard Hipp <[email protected]> > To: [email protected] > Sent: Tue, Dec 21, 2010 5:40 pm > Subject: Re: [fossil-users] Errors during compile in Windows 7 x64 > > > > > > On Mon, Dec 20, 2010 at 6:11 PM, Arnel Legaspi <[email protected]> > wrote: > Hello, > > Compiling Fossil in 64-bit Windows 7 appears to stop after the > "makeheaders" step. It produces the following error: > > Can't read input file ".\wobj\add_.c;.\wobj\add.h" // and so on... > > > What do you have OBJDIR set to in your toplevel makefile? Are you > using \ instead of /? Have you tried changing the \s to /s to see if > that fixes the problem? > > > Checking the "wobj" folder, there are no files ending in *.h. > I am using MinGW for this with GCC v4.5.1. > > There are instructions on the Fossil wiki regarding using Pelles-C > instead of MinGW - should I try that instead? > > Thanks, > Arnel > _______________________________________________ > fossil-users mailing list > [email protected] > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > > > > > -- > D. Richard Hipp > [email protected] > > > _______________________________________________fossil-users mailing > [email protected]http://lists.fossil-scm.org:8080/cgi > -bin/mailman/listinfo/fossil-users > > _______________________________________________ > fossil-users mailing list > [email protected] > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > -- D. Richard Hipp [email protected]
_______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

