comp.lang.ada
 help / color / mirror / Atom feed
From: Patrick <patrick@spellingbeewinnars.org>
Subject: Re: GCC with ada support
Date: Tue, 7 Feb 2012 12:48:41 -0800 (PST)
Date: 2012-02-07T12:48:41-08:00	[thread overview]
Message-ID: <6be8c600-c1e4-4ce9-ad11-56c2fabc8140@t5g2000yqk.googlegroups.com> (raw)
In-Reply-To: 9954ec68-f5e4-4432-a692-e1e3e9bb1582@p12g2000yqe.googlegroups.com

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.




  reply	other threads:[~2012-02-07 21:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-04  6:48 GCC with ada support Patrick
2012-02-04 13:57 ` Patrick
2012-02-04 14:17   ` Patrick
2012-02-06  8:24     ` Ludovic Brenta
2012-02-06 15:47       ` Patrick
2012-02-07 20:48         ` Patrick [this message]
2012-02-07 20:50         ` Patrick
2012-02-07 23:31           ` Ludovic Brenta
2012-02-08 11:50   ` Stephen Leake
2012-02-09 12:14     ` Patrick
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox