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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ab5f27c42c253ac5 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!fr.ip.ndsoftware.net!proxad.net!usenet-fr.net!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: GNAT and GNU build system Date: 04 Aug 2004 18:11:27 -0400 Organization: Cuivre, Argent, Or Message-ID: References: <873c32k5gu.fsf@insalien.org> NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: melchior.cuivre.fr.eu.org 1091657496 53180 212.85.156.195 (4 Aug 2004 22:11:36 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Wed, 4 Aug 2004 22:11:36 +0000 (UTC) To: comp.lang.ada@ada-france.org Return-Path: In-Reply-To: <873c32k5gu.fsf@insalien.org> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: g2news1.google.com comp.lang.ada:2558 Date: 2004-08-04T18:11:27-04:00 Ludovic Brenta writes: > Tapio Kelloniemi writes: > > I would really prefer typing: > > ./configure --prefix=/usr --enable-goldobj > > I understand your concern completely. My concern, though, is the > sheer complecity of the ./configure script itself, and that of the > Makefile it generates. Most of that complexity is unnecessary with > Ada programs, and in fact really gets in the way. With Ada, you would > normally want to take full advantage of GNAT project files. The only > places where ./configure may be of help are for the installation > target (--prefix), and finding any Ada libraries you depend on. This is true. So we need to start generating patches to auto* that take advantage of Ada's simplicity. Not an easy task, but in the long run it is the right solution. Hmm. Maybe rewriting auto* in Ada first would be easier; I'm not sure :). > > > This problem is solved nicely in Debian GNU/Linux. Each library has a > GNAT project file in a well-known location > (/usr/share/ada/adalib/library.gpr). Your program just "withs" them > as required. That sounds good. But Ada still needs to cooperate with autoconf. > Furthermore, on non-Debian systems, the GNU Ada Environment > Specification[1] says where library files should be installed. Here > again, you would not need a ./configure at all; just use -aI and -aO > as necessary. Only if you have a pure Ada project. I find this unlikely; I like LaTeX or Texinfo for documentation, and I want my makefiles to run test drivers. > Since Debian follows the GNAE, your GNAT project file can be portable > without the need for ./configure. That's good. -- -- Stephe