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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6930ea02e86d0a07 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news4.google.com!proxad.net!exabot.com!freenix!oleane.net!oleane!not-for-mail From: "Tom Grosman" Newsgroups: comp.lang.ada Subject: Re: SOLVED: Debian Etch GCC GNAT 4.1 / Aonix ADT Eclipse Plugin Date: Tue, 17 Apr 2007 17:09:44 +0200 Organization: Aonix Message-ID: References: <8roef4-v41.ln1@newserver.thecreems.com> NNTP-Posting-Host: gauntlet-fr.aonix.fr X-Trace: s1.news.oleane.net 1176822780 32629 62.161.92.253 (17 Apr 2007 15:13:00 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Tue, 17 Apr 2007 15:13:00 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3028 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Xref: g2news1.google.com comp.lang.ada:15089 Date: 2007-04-17T17:09:44+02:00 List-Id: "Jeffrey Creem" a �crit dans le message de news: 8roef4-v41.ln1@newserver.thecreems.com... > Pieter Thysebaert wrote: >> On Mon, 16 Apr 2007 11:33:37 +0200, Pieter Thysebaert wrote: >> >>> Hello, >>> >>> I'm on Debian GNU/Linux Etch and have installed GCC 4.1 along with the >>> corresponding GNAT packages. >>> >>> I also have Eclipse 3.2 installed and downloaded (through Eclipse >>> Software >>> Updates) the Aonix ADT plugin. >>> >>> My problem is that the ADT does not pick up Etch's GCC GNAT 4.1 >>> toolchain >>> (when selecting GNAT Linux Toolchain), no matter what directory I feed >>> it >>> (I naively thought that setting the toolchain path to /usr/bin would do >>> the trick). >>> >> >> >> >> Well, I have "solved" my problem. It turns out that specifying "/usr" as >> the toolchain path (instead of /usr/bin) does the trick...(i.e. makesd >> Ao Aonix ADT pick up and recognize the GNAT toolchain). >> >> Pieter >> >> >> > > Actually that is a good tip and makes sense. The way the plugin works, it > needs to find more than just the compiler and tools - it needs libraries, > specs, etc. > As I explained to Pieter, In order for AonixADT to recognize a gnat toolchain, The "toolchain directory" that is specified should contain the gnat bin subdirectory (gnat executables are located here) to which you should have execution permission. AonixADT then checks within the gnat bin directory for the presence of the executable file "gnatmake" to determine if you have specified a valid toolchain location. So far, this seems to work no matter the O/S nor compilation environment (gnuada, GNATPRO). -Tom