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=0.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no 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.24.135 with SMTP id u7mr1548473wif.3.1344320680560; Mon, 06 Aug 2012 23:24:40 -0700 (PDT) Path: q11ni5534200wiw.1!nntp.google.com!feed-C.news.volia.net!volia.net!news2.volia.net!feed-A.news.volia.net!border1.nntp.ams2.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!border2.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.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!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Mon, 30 Jul 2012 16:02:10 +0200 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: how to tell gnatmake to send executables to a different directory when compiling multi source? 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> In-Reply-To: Message-ID: <501693d8$0$6555$9b4e6d93@newsspool4.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 30 Jul 2012 16:02:00 CEST NNTP-Posting-Host: 9d7c6d91.newsspool4.arcor-online.net X-Trace: DXC=J6G]HPmT8G4QbA1[CgMQ004IUK:Lh>_cHTX3j=LfK8\ZM3=N< X-Complaints-To: usenet-abuse@arcor.de Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Date: 2012-07-30T16:02:00+02:00 List-Id: On 30.07.12 15:03, Nasser M. Abbasi wrote: > On 7/30/2012 7:25 AM, Georg Bauhaus wrote: > > >> . Changes in the C world >> require programmers who know both C and the dependency graph of >> the entire software. > > hi; > > I do not know if this is what you refer to or not, (...) > http://make.paulandlesley.org/autodep.html > > The point is, there are ways to build this dependency automatically > in the C world. The author seems a little cautious. The point is that C does not define a library unit and how it fits into the translation process, dependency-wise, like Ada does. There are economical consequences. C's, uh, permissive ways create a plethora of mutually incompatible solutions to a problem that has been formally defined, and solved, in Ada right from the start. So, there exist cases where GCC, with the help of GNU Make and a host of Unix programs, will let a diligent programmer produce dependency files that tackle dependency in a roll-your-own fashion. This setup is all outside of C, non-portable, "pragmatic", and works, provided a sufficient amount of crowd work and crowd money are spent on additions to C programming that tend become mutually exclusive.