begin quoting Jon Wahlmann as of Fri, Feb 09, 2007 at 07:29:06AM -0800: > On Thu, Feb 08, 2007 at 11:39:04PM -0800, Stewart Stremler wrote: > > begin quoting Jon Wahlmann as of Thu, Feb 08, 2007 at 09:58:28PM -0800: > > [snip] > > > Yup. SCons is advertised as a "make" replacement along with some > > > autoconf stuff thrown in. The bonus is it's written using Python, > > > hence the build scripts are Python scripts, which is a much nicer > > > language to program in than "make". > > > > I never really liked "programming" in Make, even when I was trying > > to get it to do some sorta-kinda sophisticated things. Ant headed > > in the right direction -- make the build file dumb data, and add > > features to the tool separately. > > Yup. I also like kind of having that ability with SCons. One can add > functionality to it by adding appropriate Builder or Scanner python > modules. This way your build script can be as dumb as you want. :-) > Personally, I like a little bit of programmability in my build > scripts, just not the way make does it.
It's not my build script I need dumb -- I can make Make be dumb -- it's all those other buildfiles I want to look at that do all sorts of cryptic programming tricks that I need a dumb data file for. Of course, I may be wishing for a pipe dream, and there's going to be a need for programmability in the build file for sufficiently large or complicated products... but at that point I start questioning the need for a universal build system. > > My Perl is rusty enough to where I need to grab a book to read > > nontrivial Perl code. > > I written anything Perl related in years, except for the occasional > CGI script tweak. For all future scripting projects, it's Python for > me. It's a case of "I wish I knew then what I know now." Kind of the > realization that Eric Raymond had when he "finally" first started > working with Python (http://www.linuxjournal.com/article/3882). I like Perl a whole lot more than Python (not hard, given my reaction to Python). If it's processing text files, I reach for Perl; if it's to glue programs together, I reach for TCL; if it's automating manual command line stuff, I reach for a csh or sh. I play with GST every so often, and Ruby looks interesting... but I don't have a problem on hand that would lend themselves to either one. [snip] > > What language are you compiling with it? > > It's a simple SNMP management application coded in straight C. (I > actually roughed it out a bit in a Python prototype.) The target will > eventually be a deeply embedded board running with just 2M of memory > (no OS). I'll be using SLIP to talk to a network gateway box that's > to be configured via SNMP. So, just the minimum to "make it work." Cool. Sounds like fun. -- Need to get the Soekris box set up and configured. Stewart Stremler -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
