On Wed, 7 Jul 2010 16:34:31 +0800, Michael Richter <[email protected]> wrote: > I'd like to re-engineer the Makefile approach in fossil so that it's easier > to work out what needs to be put in place for any given platform. Is there > enough interest in this that it's worth doing the work in my private branch > for inspection?
I find that building on Linux and FreeBSD works out of the box, and I'm told that cross-building Win executables on Linux with gcc-mingw installed also works out of the box. Building on Windows itself with gcc-mingw doesn't work for me (just mingw installed, not cygwin or msys). I keep finding myself making the following adjustments to Makefile and src/main.mk: - change from slash to backslash in the file paths - create VERSION.h by hand: even with awk installed, the quoting involved doesn't work There was an attempt to fix both issues a few weeks back, but is was a botched attempt and the changes were backed out. The slash/backslash thing should not be too hard to correct, and I'm thinking to have a little C program to generate VERSION.h instead of using awk for that. The source is already heavily preprocessed, so building one more tool should not upset the build design. Perhaps others can comment on building fossil on OS X and Solaris. How can I help? Paul _______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

