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,913874d23e88b0b6 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!feedme.ziplink.net!news.swapon.de!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: MinGW issues with gnat Date: Sun, 29 May 2011 23:40:26 +0200 Organization: Ada @ Home Message-ID: References: NNTP-Posting-Host: umsy9xuEXXd2dNTVMQ4E9Q.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 User-Agent: Opera Mail/11.01 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Xref: g2news1.google.com comp.lang.ada:19579 Date: 2011-05-29T23:40:26+02:00 List-Id: Le Sun, 29 May 2011 23:16:25 +0200, Marco a =C3= =A9crit: > I downloaded MinGW yesterday. The gcc compiler/linker works fine for C= = > code but when I tried to run gnat (or any of the gnat utilities) I got= = > this: > > procedure entry point GetProcessID could not be located in KERNAL32.dl= l > > Any ideas? > > Running on an old Window 2000 box. All GNAT versions later than GNAT 3.15p, were compatible with Windows NT= = (or like) kernels. Prior to Windows XP, Windows NT and other Windows = version were different things. I guess that may be source of the failure= . You have to either switch to Windows XP or Windows NT. As this may not m= e = possible (depending on the requirements), you may use GNAT 3.15p instead= . You can get one here: http://www.les-ziboux.rasama.org/compilateur-ada-gnat.html (the first link is a download for Windows, the second is a download for = = RedHat). Note: I use to =E2=80=9Cplay=E2=80=9D with GNAT under Windows 95. Was OK= with GNAT 3.15p, = but cannot remember if I ever used a later version in the same = circumstance. As far as I can remember, GNAT 3.15p provided Ada 95 (no A= da = 2005, obviously). You will also have to forget about the debugger which = = was not working (I am noticing this for you, as I don't use debuggers = myself). -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [Ep= igrams on = Programming =E2=80=94 Alan J. =E2=80=94 P. Yale University] =E2=80=9CStructured Programming supports the law of the excluded muddle.= =E2=80=9D [Idem] =E2=80=9Cc++; /* this makes c bigger but returns the old value */=E2=80=9D= [Anonymous]