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 nq4mr15117160pbc.2.1328648608107; Tue, 07 Feb 2012 13:03:28 -0800 (PST) Path: lh20ni271760pbb.0!nntp.google.com!news2.google.com!postnews.google.com!t5g2000yqk.googlegroups.com!not-for-mail From: Patrick Newsgroups: comp.lang.ada Subject: Re: GCC with ada support Date: Tue, 7 Feb 2012 12:48:41 -0800 (PST) Organization: http://groups.google.com Message-ID: <6be8c600-c1e4-4ce9-ad11-56c2fabc8140@t5g2000yqk.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> <6ef5e938-876f-42c3-9949-49a24a700e5f@n12g2000yqb.googlegroups.com> <9954ec68-f5e4-4432-a692-e1e3e9bb1582@p12g2000yqe.googlegroups.com> NNTP-Posting-Host: 69.159.21.71 Mime-Version: 1.0 X-Trace: posting.google.com 1328648607 10322 127.0.0.1 (7 Feb 2012 21:03:27 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 7 Feb 2012 21:03:27 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: t5g2000yqk.googlegroups.com; posting-host=69.159.21.71; posting-account=cUi90woAAADTaOISowbbHM8GUD0-opJO User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESNKRC X-HTTP-UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1 Iceweasel/9.0.1,gzip(gfe) Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-02-07T12:48:41-08:00 List-Id: Hi Again Ludovic This issue is resolved for me, thanks once again. I just want to report back as to what happened as I can now see the picture more clearly. If this is boring please skip this: So I was running Trisquel Linux. The issue I was having was similar to this bug report: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=491228 gcc -c SomeFile.adb gave: gcc: error trying to exec 'gnat1': execvp: No such file or directory but gnat was installed, gnatmake -v gave: GNATMAKE 4.4.5 Copyright (C) 1995-2008, Free Software Foundation, Inc. I tried to install gnat from source but it failed as it requires gcc to know about gnat. I tried to install the gnat binaries but had some trouble too. They seemed to work with gnat also installed from the repositories but not without. This portion of the story is still fuzzy. I reinstalled Trisquel many times to start with a fresh slate so I might be mixing something up. I was not able to build gcc from source either as again it requires a previous version of gcc that understands ada in order to enable the ada features. I tried many things before your suggestion and went through other distros. I have installed Debian now and with gcc 4.6 and gnat 4.6 I can compile ada programs with gcc -c and i have the -fdump-ada-spec feature I desperately wanted too. If i install libgtkada2.14-2-dev I can build the gtk ada examples from my adacore package. However this library downgrades gnat to 4.4 and gcc 4.6 can no longer find it. I am not totally worried about the gtk library. I am thinking that if i build a skeleton gtk app and link it into ada I can "fill it out" and avoid using the ada library. Anyhow thanks again. I am trying to construct a program that will help my son visualize words, he as a devastating speech delay. I plan on making an app that will talk when it's typed and will have a number of other features. Helping me with this is a great benefit to my family.