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.180.105.38 with SMTP id gj6mr1223785wib.0.1344266669309; Mon, 06 Aug 2012 08:24:29 -0700 (PDT) Received: by 10.66.80.168 with SMTP id s8mr1123014pax.28.1344263157921; Mon, 06 Aug 2012 07:25:57 -0700 (PDT) Path: q11ni73137887wiw.1!nntp.google.com!volia.net!news2.volia.net!feed-A.news.volia.net!yt1no2896739wib.1!news-out.google.com!p10ni20662444pbh.1!nntp.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!backlog1.nntp.ams.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.panservice.it!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: how to tell gnatmake to send executables to a different directory when compiling multi source? Date: Mon, 30 Jul 2012 21:50:34 +0200 Organization: A noiseless patient Spider Message-ID: <87boixav05.fsf@ludovic-brenta.org> References: <214bbd15-f7cb-4710-a6a7-64f37923bf4e@googlegroups.com> <87wr1moexq.fsf@ludovic-brenta.org> <87sjcaoa08.fsf@ludovic-brenta.org> <50167d29$0$6570$9b4e6d93@newsspool4.arcor-online.net> Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="21ebca96f67dd5c032955613b6f0e87a"; logging-data="20459"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+QHqoLFIDCN96X15/lqZEz" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:KdoPHO9hEJSmuO/Rk0Dri3xu1hk= sha1:6Q6jC6bDm3YSta9ZDZYEfniaErw= X-Original-Bytes: 2945 X-Received-Bytes: 3168 Content-Type: text/plain; charset=us-ascii Date: 2012-07-30T21:50:34+02:00 List-Id: "Nasser M. Abbasi" writes: > Here is a link that describes this and more , called > "Advanced Auto-Dependency Generation" > > http://make.paulandlesley.org/autodep.html I like this title very much; it reflects very well the poor state of the art in C (and C++) programming. - they think they "generate" dependencies by parsing source files. This is wrong. They generate dependencies when _writing_ the source files. GCC has a tool to _extract_ not _generate_ dependencies. - they think this technology is "advanced". This is wrong. Ada has had automatic dependency management mandated in the language since 1979. Other languages like OCaml too. - by "advanced" they imply that "this is not for beginners or the faint of heart". Taking advantage of this "advanced" technology requires mastery of C, GCC and Make. Not to mention the vendor lock-in that results from relying on a non-standard feature of GCC. On the contrary, beginners are the ones who need help the most, even those not using GCC or Make. - they are proud to have "invented" an "advanced technology", just like Georg described. While they "can do it", Ada already "has it". They simply don't have a clue, do they? Well, I contend that they are being seduced and blinded by their own devil. -- Ludovic Brenta.