Re: [AD] build process overhaul |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: alleg-developers@xxxxxxxxxx
- Subject: Re: [AD] build process overhaul
- From: Chris <chris.kcat@xxxxxxxxxx>
- Date: Wed, 30 Nov 2005 03:18:42 -0800
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=PhAnOQvtyvnUXWHfbwC5LhXj8z03js7CWtlTy+QNgWhi331h3GXa2rPuCrjXBfrTv8DUbS+/0g38FrtJUampX1U4ovtJDfyCew6oZerZpSMh9VOOX0Op19am7/M6zILg08PcLXvNELOouQ8GHhlIZNnp8o5evmQ0JVydcVZe9kw=
On Wednesday 30 November 2005 02:45 am, Hein Zelle wrote:
> Does an scons build file require 'endusers' to install software
> (scons) to build allegro, or is it a system that generates a makefile
> and configure script which can be run by the user without installing
> any further software (apart from make)?
No, it requires scons installed on the person who's compiling's system, and
doesn't generate/use makefiles (though you can use makefiles to invoke scons,
it still needs to be installed).
CBuild doesn't rely on anything being installed, except a compiler, and could
probably work for Allegro, now that I think about it (once it drops the
assembly stuff anyway, or until I add in compile commands for other
extensions.. and I find out how to detect other platforms besides Unix and
Windows). CBuild is all stored in a single 47KB source file, which is
self-compiling in sh-shells, and is easilly distributable. You can even make
a simple makefile to compile the cbuild executable for systems that can't run
the source file.
However, I'd really need someone to look over the code if you're at all
interested in using it for Allegro. Firstly, to look over the code (the only
"questionable" functions it uses are snprintf (for which I have it set to use
_snprintf in MSVC) and setenv/unsetenv (for which I have wrappers for Win32),
AFAIK), and make sure it's stable/compatible enough.