On Sat, 2008-06-14 at 10:56 +0100, Oleg Verych wrote: > I saw that. My point is pure text processing. But as it seems doing > `make` is a lot more fun than to do `sh` && `sed`. The problem is that it _isn't_ pure text processing. There's more to building with --combine than that, and we really do want the compiler to do it. _Sometimes_ you can just append C files together and they happen to work. But not always. A simple case where it fails would be when you have a static variable with the same name in two different files. The compiler will do the right thing there., while naïve concatenation of C files will not. Of course, it's _possible_ to have external text processing cope with this case somehow -- you'd probably feed it through the preprocessor, then look at the output of the preprocessor and make the variable names unique, perhaps? And then move on to the next case which is already handled in gcc... But really, I'd rather just leave it to the compiler. And it's not because I have some masochistic fascination with makefiles :) -- dwmw2 -- To unsubscribe from this list: send the line "unsubscribe linux-embedded" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html