comp.lang.ada
 help / color / mirror / Atom feed
* Configuring eclipse for Ada ?
@ 2007-01-24 22:31 Patrick
  2007-01-25 15:44 ` marcelo.batera
  0 siblings, 1 reply; 5+ messages in thread
From: Patrick @ 2007-01-24 22:31 UTC (permalink / raw)


Hi everybody.

Does anybody know where I can get information about configuring the 
Aonix plugin for eclipse ?

I'm working on a linux workstation and I have installed the gnat 
environment. I have downloaded the Aonix plugin (ADT) but I have some 
difficulties to configure it : the gnat toolchain directory I specify 
(/usr/bin) is not valid ...

Can anybody help ?
Thanks,
Patrick



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Configuring eclipse for Ada ?
  2007-01-24 22:31 Configuring eclipse for Ada ? Patrick
@ 2007-01-25 15:44 ` marcelo.batera
  2007-01-26  0:45   ` Georg Bauhaus
  0 siblings, 1 reply; 5+ messages in thread
From: marcelo.batera @ 2007-01-25 15:44 UTC (permalink / raw)


I have the same problem.

I'm using gentoo linux and I tried different setups, including
/usr/i686-pc-linux-gnu/gnat-gcc-bin/4.1, where gnatmake is located.

any idea?

On Jan 24, 8:31 pm, Patrick <keep.coo...@laposte.net> wrote:
> Hi everybody.
>
> Does anybody know where I can get information about configuring the
> Aonix plugin for eclipse ?
>
> I'm working on a linux workstation and I have installed the gnat
> environment. I have downloaded the Aonix plugin (ADT) but I have some
> difficulties to configure it : the gnat toolchain directory I specify
> (/usr/bin) is not valid ...
> 
> Can anybody help ?
> Thanks,
> Patrick




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Configuring eclipse for Ada ?
  2007-01-25 15:44 ` marcelo.batera
@ 2007-01-26  0:45   ` Georg Bauhaus
  2007-01-26 19:52     ` marcelo.batera
  0 siblings, 1 reply; 5+ messages in thread
From: Georg Bauhaus @ 2007-01-26  0:45 UTC (permalink / raw)


On Thu, 2007-01-25 at 07:44 -0800, marcelo.batera@gmail.com wrote:
> I have the same problem.
> 
> I'm using gentoo linux and I tried different setups, including
> /usr/i686-pc-linux-gnu/gnat-gcc-bin/4.1, where gnatmake is located.
> 
> any idea?

A trick seems to be to (re)create the "Ada Configuration".
E.g., find your project in the Ada Configuration tab
in the lower section of windows of the Ada perspective.
Try the context menu of your project, fill in any blanks
and confirm.

(If you hadn't done so, tool chains can be added
and edited via Preferences -> Ada -> Installed Toolchains.
E.g., for adding GNAT GPL 2006, it suffices to specify
/opt/GNAT_GPL_2006, or the path where you had installed
it.)


> On Jan 24, 8:31 pm, Patrick <keep.coo...@laposte.net> wrote:
> > Hi everybody.
> >
> > Does anybody know where I can get information about configuring the
> > Aonix plugin for eclipse ?
> >
> > I'm working on a linux workstation and I have installed the gnat
> > environment. I have downloaded the Aonix plugin (ADT) but I have some
> > difficulties to configure it : the gnat toolchain directory I specify
> > (/usr/bin) is not valid ...
> > 
> > Can anybody help ?
> > Thanks,
> > Patrick
> 




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Configuring eclipse for Ada ?
  2007-01-26  0:45   ` Georg Bauhaus
@ 2007-01-26 19:52     ` marcelo.batera
  2007-01-26 20:04       ` Georg Bauhaus
  0 siblings, 1 reply; 5+ messages in thread
From: marcelo.batera @ 2007-01-26 19:52 UTC (permalink / raw)


On Jan 25, 10:45 pm, Georg Bauhaus <bauh...@futureapps.de> wrote:
> On Thu, 2007-01-25 at 07:44 -0800, marcelo.bat...@gmail.com wrote:
> A trick seems to be to (re)create the "Ada Configuration".
> E.g., find your project in the Ada Configuration tab
> in the lower section of windows of the Ada perspective.
> Try the context menu of your project, fill in any blanks
> and confirm.
>
> (If you hadn't done so, tool chains can be added
> and edited via Preferences -> Ada -> Installed Toolchains.
> E.g., for adding GNAT GPL 2006, it suffices to specify
> /opt/GNAT_GPL_2006, or the path where you had installed
> it.)

the problem is: gnat isn't installed in one specific location.

I mean, take a look at my GNAT configuration:

[ogro](16:31)~
$cat /etc/env.d/55gnat-i686-pc-linux-gnu-gnat-gcc-4.1
PATH=/usr/i686-pc-linux-gnu/gnat-gcc-bin/4.1:/usr/libexec/gnat-gcc/i686-pc-linux-gnu/4.1:/usr/lib/ada/i686-pc-linux-gnu-gnat-gcc-4.1/adadoc:/usr/lib/ada/i686-pc-linux-gnu-gnat-gcc-4.1/gtkada/bin:/usr/lib/ada/i686-pc-linux-gnu-gnat-gcc-4.1/polyorb/bin:/usr/lib/ada/i686-pc-linux-gnu-gnat-gcc-4.1/xmlada/bin
ROOTPATH=/usr/i686-pc-linux-gnu/gnat-gcc-bin/4.1:/usr/libexec/gnat-gcc/i686-pc-linux-gnu/4.1:/usr/lib/ada/i686-pc-linux-gnu-gnat-gcc-4.1/adadoc:/usr/lib/ada/i686-pc-linux-gnu-gnat-gcc-4.1/gtkada/bin:/usr/lib/ada/i686-pc-linux-gnu-gnat-gcc-4.1/polyorb/bin:/usr/lib/ada/i686-pc-linux-gnu-gnat-gcc-4.1/xmlada/bin
MANPATH=/usr/share/gnat-gcc-data/i686-pc-linux-gnu/4.1/man
INFOPATH=/usr/share/gnat-gcc-data/i686-pc-linux-gnu/4.1/info
LDPATH=/usr/lib/gnat-gcc/i686-pc-linux-gnu/4.1:/usr/lib/ada/i686-pc-linux-gnu-gnat-gcc-4.1/adadoc:/usr/lib/ada/i686-pc-linux-gnu-gnat-gcc-4.1/gtkada/adalib:/usr/lib/ada/i686-pc-linux-gnu-gnat-gcc-4.1/polyorb/lib:/usr/lib/ada/i686-pc-linux-gnu-gnat-gcc-4.1/xmlada/lib
ADA_INCLUDE_PATH=/usr/lib/gnat-gcc/i686-pc-linux-gnu/4.1/adainclude:/usr/include/ada/adadoc:/usr/include/ada/aunit:/usr/lib/ada/i686-pc-linux-gnu-gnat-gcc-4.1/gtkada/adainclude:/usr/lib/ada/adainclude/gtkada:/usr/include/ada/polyorb:/usr/include/ada/xmlada
ADA_OBJECTS_PATH=/usr/lib/gnat-gcc/i686-pc-linux-gnu/4.1/adalib:/usr/lib/ada/i686-pc-linux-gnu-gnat-gcc-4.1/adadoc:/usr/lib/ada/i686-pc-linux-gnu-gnat-gcc-4.1/gtkada/adalib:/usr/lib/ada/i686-pc-linux-gnu-gnat-gcc-4.1/polyorb/lib:/usr/lib/ada/i686-pc-linux-gnu-gnat-gcc-4.1/xmlada/lib

as you can see commands are inside
/usr/i686-pc-linux-gnu/gnat-gcc-bin/4.1, the headers are inside
/usr/lib/gnat-gcc/i686-pc-linux-gnu/4.1/adainclude and the objects are
inside /usr/lib/gnat-gcc/i686-pc-linux-gnu/4.1/adalib

it's not a mess I created myself. It's the way gentoo handles gnat
installations - and maybe I should fill a bug report in bugs.gentoo.org
for this -

what does the plugin expect to find inside the toolchain directory?




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Configuring eclipse for Ada ?
  2007-01-26 19:52     ` marcelo.batera
@ 2007-01-26 20:04       ` Georg Bauhaus
  0 siblings, 0 replies; 5+ messages in thread
From: Georg Bauhaus @ 2007-01-26 20:04 UTC (permalink / raw)


On Fri, 2007-01-26 at 11:52 -0800, marcelo.batera@gmail.com wrote:

> as you can see commands are inside
> /usr/i686-pc-linux-gnu/gnat-gcc-bin/4.1, the headers are inside
> /usr/lib/gnat-gcc/i686-pc-linux-gnu/4.1/adainclude and the objects are
> inside /usr/lib/gnat-gcc/i686-pc-linux-gnu/4.1/adalib
> 
> it's not a mess I created myself. It's the way gentoo handles gnat
> installations - and maybe I should fill a bug report in bugs.gentoo.org
> for this -

If this is the issue then I'd suggest you just install both
GNAT compilers. Then you can check that what works using
GNAT GPL 2006 also works in with gentoo GNAT.

> what does the plugin expect to find inside the toolchain directory?
> 





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-01-26 20:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-24 22:31 Configuring eclipse for Ada ? Patrick
2007-01-25 15:44 ` marcelo.batera
2007-01-26  0:45   ` Georg Bauhaus
2007-01-26 19:52     ` marcelo.batera
2007-01-26 20:04       ` Georg Bauhaus

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