I'm looking more at having separate included .mk files for platform-specific
stuff as well as better support for compiling under Windows as you've noted.
 Ideally I'd like to have a decent selection of platforms including:
- Linux
- *BSD
- Solaris
- Windows

I'd also like to explore making compiler choices configurable through simple
environment variable settings or the like with support for these out of the
box:
- gcc (obviously)
- clang
- Visual Studio?


On 7 July 2010 18:34, Paul Ruizendaal <[email protected]> wrote:

> 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
>



-- 
"Perhaps people don't believe this, but throughout all of the discussions of
entering China our focus has really been what's best for the Chinese people.
It's not been about our revenue or profit or whatnot."
--Sergey Brin, demonstrating the emptiness of the "don't be evil" mantra.
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to