Re: [AD] build process overhaul

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


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.




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/