From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,163994d4f34e92d0 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.66.80.166 with SMTP id s6mr1852253pax.30.1344324783588; Tue, 07 Aug 2012 00:33:03 -0700 (PDT) Path: g9ni3169429pbo.0!nntp.google.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!ctu-peer!news.nctu.edu.tw!goblin1!goblin.stu.neva.ru!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail From: Dirk Heinrichs Newsgroups: comp.lang.ada Subject: General purpose build tools (was: Re: how to tell gnatmake to send executables to a different directory when compiling multi source?) Date: Mon, 30 Jul 2012 07:57:12 +0200 Organization: Privat Message-ID: References: NNTP-Posting-Host: pd9ff8905.dip0.t-ipconnect.de Mime-Version: 1.0 X-Trace: online.de 1343627833 22103 217.255.137.5 (30 Jul 2012 05:57:13 GMT) X-Complaints-To: abuse@einsundeins.com NNTP-Posting-Date: Mon, 30 Jul 2012 05:57:13 +0000 (UTC) User-Agent: KNode/4.9 beta2 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Date: 2012-07-30T07:57:12+02:00 List-Id: Nasser M. Abbasi wrote: > Yes, I understand. And when I build a Java application, the Java > programmers tell me to go use Ant build scripts as it is the best thing > also for building Java applications. Yes, those poor guys really think it is. To me, it's the worst build tool I've ever seen. > Make is not specialized to one task, but can do multiple tasks. It > might not be the best for one specific task, but it is the best > general tool for many many different things. No, it's not (You're talking about GNU make, right?). Today, there are some far better general build tools out there, which make GNU make look more like a toy than a serious tool. Some of it's most anoying weaknesses are: - Uses file timestamps instead of checksums (leads to unneeded recompilation and relinking in case of a simple comment ore white space change). - No builtin build cache (so there's no reuse of build results). - Doesn't detect changes in the commands it executes (so you are always forced to do a "make clean; make", especially when working in a team). Take a look at omake[1], makepp[2] or scons[3] if you want a really good general purpose build tool. Bye... Dirk [1]: http://omake.metaprl.org/index.html [2]: http://makepp.sourceforge.net/ [3]: http://www.scons.org/ -- Dirk Heinrichs Tel: +49 (0)2471 209385 | Mobil: +49 (0)176 34473913 GPG Public Key C2E467BB | Jabber: dirk.heinrichs@altum.de