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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,5f8f566979bf10cc X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!s48g2000cws.googlegroups.com!not-for-mail From: "marcelo.batera@gmail.com" Newsgroups: comp.lang.ada Subject: Re: Configuring eclipse for Ada ? Date: 26 Jan 2007 11:52:47 -0800 Organization: http://groups.google.com Message-ID: <1169841167.692030.295770@s48g2000cws.googlegroups.com> References: <1169739847.085712.259490@a75g2000cwd.googlegroups.com> <1169772337.7506.18.camel@localhost.localdomain> NNTP-Posting-Host: 201.52.53.10 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1169841183 7402 127.0.0.1 (26 Jan 2007 19:53:03 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 26 Jan 2007 19:53:03 +0000 (UTC) In-Reply-To: <1169772337.7506.18.camel@localhost.localdomain> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en; rv:1.8.1.1) Gecko/20070111 Epiphany/2.16 BonEcho/2.0.0.1,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: s48g2000cws.googlegroups.com; posting-host=201.52.53.10; posting-account=83fhLg0AAABO9KMoEUzxL39c8OxY9qoj Xref: g2news2.google.com comp.lang.ada:8607 Date: 2007-01-26T11:52:47-08:00 List-Id: On Jan 25, 10:45 pm, Georg Bauhaus 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?