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,31e05af9c16f30e1 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.213.68 with SMTP id nq4mr10665255pbc.2.1328518328070; Mon, 06 Feb 2012 00:52:08 -0800 (PST) Path: lh20ni266210pbb.0!nntp.google.com!news2.google.com!postnews.google.com!n12g2000yqb.googlegroups.com!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: GCC with ada support Date: Mon, 6 Feb 2012 00:24:21 -0800 (PST) Organization: http://groups.google.com Message-ID: <6ef5e938-876f-42c3-9949-49a24a700e5f@n12g2000yqb.googlegroups.com> References: <728a63b8-b9da-4597-9317-aa58315cb4d7@e27g2000vbu.googlegroups.com> <0ed5a50d-9de9-4ea7-83ad-1dc629f41518@n6g2000vbz.googlegroups.com> <6c98680f-f26e-46fe-bfe3-13265062c02a@l14g2000vbe.googlegroups.com> NNTP-Posting-Host: 153.98.68.197 Mime-Version: 1.0 X-Trace: posting.google.com 1328518327 29384 127.0.0.1 (6 Feb 2012 08:52:07 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 6 Feb 2012 08:52:07 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: n12g2000yqb.googlegroups.com; posting-host=153.98.68.197; posting-account=pcLQNgkAAAD9TrXkhkIgiY6-MDtJjIlC User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESRCNK X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 5.1; rv:9.0.1) Gecko/20111222 Firefox/9.0.1,gzip(gfe) Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-02-06T00:24:21-08:00 List-Id: Patrick wrote on comp.lang.ada: > I am trying to compile the latest gcc so that I can get -fdump-ada- > spec. I know I could get this from the gnat-gpl version but I was > thinking that it might be wiser to get it from gcc so that there would > not be version issues with multi-language development(which I have > never done). > > Anyhow, the gcc version in my Trisquel repository(based on ubuntu)does > not have proper ada support even though gnat is installed through the > package manager as well. What do you mean by "does not have proper ada support"? Anyway, to answer your question about -fdump-ada-spec, this option was added in April 2010 to the main line of development of GCC[1]. The first official release of GCC that contains this feature is GCC 4.6[2] and it is also present in GNAT 2011 GPL Edition. [1] http://gcc.gnu.org/ml/gcc-patches/2010-04/msg01592.html [2] http://gcc.gnu.org/develop.html#timeline The best solution to your problem at this point in time is to use Debian unstable, possibly in a chroot[3], and say: aptitude install gnat-4.6 [3] http://lists.debian.org/debian-ada/2010/02/msg00003.html > It looks like this might be a bug according to some web posts. Which web posts? > I am trying to install gtkAda from source and having some trouble with > version skewing. In that case: aptitude install libgtkada2.24.1-dev will avoid the need to recompile GtkAda from sources and will take care of version skewing for you. I don't know how far the various Debian derivatives lag behind Debian proper. It is possible that your distribution already contains gnat-4.6 and libgtkada2.24.1-dev. If you need -fdump-ada-spec only so you can compile GtkAda, then Debian removes that need completely by providing GtkAda precompiled. In this case you can use any version of Debian or a derivative; look for the package libgtkada2.*-dev in the package manager. > now I am thinking it is better to use code from the ada core website > and not from my Linux repository. >From your post it seems this is not your best option. You best option is to use precompiled binary packages and not bother rebuilding everything yourself. HTH -- Ludovic Brenta, maintainer of GNAT and GtkAda in Debian.