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: 103376,de92eb048dc3c019 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.scarlet.biz!news.scarlet.biz.POSTED!not-for-mail NNTP-Posting-Date: Sat, 18 Mar 2006 11:17:29 -0600 From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: Debian Policy for Ada, Second Edition References: <87mzfoa6z2.fsf@ludovic-brenta.org> <441C0CCB.5060800@obry.net> <87ek0zakbu.fsf@ludovic-brenta.org> <441C3610.9000902@obry.net> Date: Sat, 18 Mar 2006 18:13:49 +0100 Message-ID: <87acbnad6a.fsf@ludovic-brenta.org> User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:zoMZeSmR7xSjcecPFD5/Fazb904= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 83.134.242.63 X-Trace: sv3-Hcr0B1GKEXvgYl/VR80CE6CNIPBHjbvEprE41klNQZcdwKbN3CBosrWAnZ8P0lppboU1Ze2px3n9B3s!vO+AnMnZsYSxesczepBzaJk25RKfApbKLzJf/XFhaJE1EXN4jcYvY3+YSi7LwW/0YUImRP3zjg== X-Complaints-To: abuse@scarlet.be X-DMCA-Complaints-To: abuse@scarlet.biz X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news1.google.com comp.lang.ada:3439 Date: 2006-03-18T18:13:49+01:00 List-Id: Pascal Obry writes: > Ludovic Brenta a écrit : > >> I am not aware of a GNAT default. What is the default? And why does >> it not follow the GNAE? > > To be able to install a compiler in its own directory and to be able to > have multiple compilers installed at the same time. > > The scheme is something like: > > /opt/GNAT/ > /bin <- binaries there > /lib/gnat/ <- project files there (GNAT looks there) > /lib/gnat/ <- if needed sub-project files > /lib/ <- .o .ali .a .so for > /lib <- sym links to .a and .so above > /include/ <- .ads/.adb for > /share/doc/ <- documentation > /share/gps/plug-ins <- .xml for GPS customization (doc, tools) > > >> Maybe symlinks can come to the rescue to provide interoperability. > > That will be lot of them and you won't be able to support multiple > compilers. But maybe this is not a requirement for Debian. Indeed, the policy states clearly that exactly one compiler is supported in Debian, so that all packages are ABI compatible. The default project path is a new feature of GNAT that I was unaware of; thanks for pointing it out to me. I see that I can change the default by patching src/gcc/ada/Make-lang.in, which generates build/gcc/ada/sdefault.adb. I think I'll do that, thus making the symlinks unnecessary, and allowing GNAT to find all libraries' project files automatically. Objections? -- Ludovic Brenta.