Re: Mixed arm and thumb code

Posted by Mike Panetta on
URL: http://elua-development.15.s1.nabble.com/Mixed-arm-and-thumb-code-tp2537643p2550396.html

The reason most people (me included) don't remember stuff about make is because not vary many people spend time writing build scripts.  Most of the time we as programmers are writing actual code, not writing the stuff to build it.  I hardly ever use python or ruby, so I am always looking up stuff on how to use them when I need to use them in a project.  If I used that same rule to describe these languages then I would have to say they suck too.  But they don't. :)

The tabbing does not bother me. At least not as much as pythons tabbing issues. A proper text editor will handle it for you anyway these days.

As for not being able to do something with make that you can do with sconstruct, I highly doubt its due to any lacking features of make.  Its more likely due to the level of familiarity you have with make vs python/scons.  If make were as inflexible as you say, I highly doubt a build as complex as the Linux kernel would use it. For instance, scons seems to lack good support for directory recursion, and directory level build rules, unless you hack on it quite a bit. I once rewrote the eLua build system to factor out all the build rules into separate sconstruct files (I *HATE* long file lists with directory garbage in them), it was an immense task that could have been done extremely simply in make.

I have in the past spent enough time as a build manager of large projects to realize that there truly is nothing as powerful as make in existence.  You might want to pair something with it, like automake/autoconf or rubys make file generating tools, but I have yet to find a tool as simple (and as small!) as make.

Mike

On Sat, Mar 28, 2009 at 4:09 PM, Bogdan Marinescu <[hidden email]> wrote:
Well, personally I have a simple rule: if I keep on forgetting stuff I learn about a tool, it's not good enough for me. With make, I could never remember $@, $?, $< and other syntax stuff. Not to mention that the whole tabbing thing drives me insane. This is reminescent of the old Unix days (somebody here ever tried to modify an old sendmail.cf file ? :), and frankly (besides their unquestionable place in history) I don't think too high of them, mainly because I find them counterproductive. It's the same reason I'll never get along with perl, for example. And the list could go on :) I think we're progressing towards better tools, and although they are far from perfect, I get along with them just fine. scons is an example of such tool for me. Plus, on the more practical side, I could never do the kind of scripting I do in SConstruct with make.

Best,
Bogdan


On Sat, Mar 28, 2009 at 9:49 PM, Mike Panetta <[hidden email]> wrote:
Just a general question...  Why do people hate make so much?  Its extremely powerful and IMO easy(er) to use for dependency tracking build systems then any other language... Not to mention the fact that anyone that is already using GCC has gmake installed, where that can't be said about any other build tool...

Just my 0.02 currency units.

Mike


On Sat, Mar 28, 2009 at 12:07 PM, Dado Sutter <[hidden email]> wrote:


On Thu, Mar 26, 2009 at 16:44, Arnim Littek <[hidden email]> wrote:

Under these circumstances I'd be questioning whether scons is the right tool
for the job.  Tools are not there to make life difficult, and if one doesn't
work, it is time to find another.  IMHO

Under the same philosophy of "doing the most we can in Lua", I've been checking the possibility of using Hamster.
Asko is here in the list with us and is checking what went wrong with my first try on using it.
I'm not sure if it will solve this issue though, as Hamster is also based on scons.

Best
Dado








Arnim.
_______________________________________________
Elua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev


_______________________________________________
Elua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev



_______________________________________________
Elua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev



_______________________________________________
Elua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev



_______________________________________________
Elua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev