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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,168309ad531202b6 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news3.google.com!feeder.news-service.com!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: GNATBench : how can I install ? Date: Fri, 05 Nov 2010 05:08:12 +0100 Organization: Ada @ Home Message-ID: References: <1717f132-4cc1-43ec-89a8-69d40a12d65d@m24g2000vbu.googlegroups.com> NNTP-Posting-Host: NQGlFqe1mD/2jNzCmrBjDw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/10.63 (Win32) Xref: g2news2.google.com comp.lang.ada:16209 Date: 2010-11-05T05:08:12+01:00 List-Id: Le Thu, 04 Nov 2010 20:08:53 +0100, Britt Snodgrass = a =C3=A9crit: > Forget Hibachi, its a (effectively) dead project. Some already told me the same here, but I could not get an idea without = a = try. Hibachi is not so bad, it is lightweight and simple, which can be = good. And I don't like to say =E2=80=9Cdead=E2=80=9D for such a thing wh= ich was not = created on that purpose (some care for the authors too). This was still = a = good and not-tiny job. > GNATbench has some minimal dependence on the CDT to support mixed > language programming and debugging, I think. I've noticed CDT only has the debugging configuration pan (Hibachi had = one). I did not test debugging (learned to do without). It handles file-name refactoring not so well as CDT does. Indeed, it doe= s = not handle this at all, and I get crashes when I did some test, like = renaming an Ada file, an Ada project name, a GPR file, etc. It tries to = = rebuild a data-base, then crash and makes all Eclipse crash with it (it = = does not crash alone, I don't like that). So beware of file renaming. > I have installed > GNATbench many times. Assuming you have GNATbench 2.4.0, I would first= > get the Eclipse 3.5.2 SDK from www.eclipse.org and then use the built-= > in "Help->Install New Software..." to find and install the compatible > version of the CDT (e.g. CDT 6.0.2). Then install GNATbench 2.4.0. > Versions of GNATbench up through 2.4.0 will default (with prompt) to > installing themselves into the GNAT bin directory and then putting a > gnatbench.link file in a "links" subdirectory in the Eclipse > directory Restart Eclipse after installation. I may add I've checked it works fine with MinGW, but still requires a = minimal GPS in the path=E2=80=A6 to open the GPR file dialog box. > Version 2.5.0 of > GNATbench (when released) will have a more standard "local update > site" installation mechanism. Seems they may have reach this target while they may not tell it : there= = is even no need to use the installer, I've played a bit to see how it = works. All you have to do (at least in Windows), is to unpack the = installer or the archive, move the =E2=80=9Cplugins=E2=80=9D and =E2=80=9C= features=E2=80=9D folders in = your eclipse directory (nothing else at all), then launch Eclipse. It wi= ll = automatically detect any GCC/gnatc. A minimal GPS is not strictly = required, but if there is none, you will have to edit GPR files manually= . = I've noticed it has automatically created a big gnatbench.dll in a = subdirectory of OSGI (which is in =E2=80=9C.configuration=E2=80=9D). All that means it is near to be possible to install it straight-away (it= = just needs to get ride of the minimal external GPS it relies on, to be O= K). What is this =E2=80=9Cgnatbench.link=E2=80=9D ? Mine is working without.= I tried the = installation from place to place to see if this was still standalone=E2=80= =A6 and = it is. Compared to Hibachi, I could not strictly say one is better than the = other, this would be like comparing AdaGIDE and GPS (no way to compare, = = the spirit and target are not the same). Both have their weakness (CDT = on = the other hand is very good=E2=80=A6 now he know a possible reason why s= o much = people are sticked to C/C++/Java=E2=80=A6 the environment is very neat-g= ood in = this area, and all seamless). Also, both come with source, if ever some-one would wish to get involved= . -- = Si les chats miaulent et font autant de vocalises bizarres, c=E2=80=99es= t pas pour = les chiens.