Configuring eclipse for Ada ? - ADA

This is a discussion on Configuring eclipse for Ada ? - ADA ; 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 ...

+ Reply to Thread
Results 1 to 5 of 5

Configuring eclipse for Ada ?

  1. Default Configuring eclipse for Ada ?

    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

  2. Default Re: Configuring eclipse for Ada ?

    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



  3. Default Re: Configuring eclipse for Ada ?

    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

    >



  4. Default Re: Configuring eclipse for Ada ?

    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?


  5. Default Re: Configuring eclipse for Ada ?

    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?
    >




+ Reply to Thread

Similar Threads

  1. Eclipse and CVS, Eclipse wipes out CVS directories
    By Application Development in forum Java
    Replies: 1
    Last Post: 08-31-2007, 05:19 AM
  2. Problem in configuring eclipse to point to a jdk instead of jre
    By Application Development in forum Java
    Replies: 0
    Last Post: 08-09-2007, 06:12 AM
  3. Problem in configuring Eclipse 3.2 with JBoss 4.0.x
    By Application Development in forum Java
    Replies: 0
    Last Post: 03-07-2007, 02:32 AM
  4. Replies: 7
    Last Post: 01-25-2005, 04:17 PM
  5. Replies: 2
    Last Post: 01-25-2005, 03:02 PM