From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: MinGW issues with gnat
Date: Sun, 29 May 2011 23:58:07 +0200
Date: 2011-05-29T23:58:07+02:00 [thread overview]
Message-ID: <8762otnp8w.fsf@ludovic-brenta.org> (raw)
In-Reply-To: op.vv9ihoavule2fv@douda-yannick
Yannick Duchêne writes on comp.lang.ada:
> Marco <prenom_nomus@yahoo.com> a écrit:
>> 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.dll
>>
>> 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.
Even though it's been a long time since I had any interest in Windows, I
do remember that Windows 2000 is a version of Windows NT (specifically,
it is Windows NT 5.0; XP is 6.0; Vista is 6.1 and 7 is 7).
The problem is simply that GetProcessID was introduced only in Windows
XP with SP1 and Windows Server 2003 [1].
[1] http://msdn.microsoft.com/en-us/library/ms683215%28v=vs.85%29.aspx
Three solutions then:
- upgrade to XP SP1 or later
- downgrade the compiler
- upgrade to GNU/Linux or a BSD :)
--
Ludovic Brenta.
next prev parent reply other threads:[~2011-05-29 21:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-29 21:16 MinGW issues with gnat Marco
2011-05-29 21:40 ` Yannick Duchêne (Hibou57)
2011-05-29 21:58 ` Ludovic Brenta [this message]
2011-05-29 22:32 ` Yannick Duchêne (Hibou57)
2011-05-30 7:30 ` Dmitry A. Kazakov
2011-05-30 10:42 ` Frank J. Lhota
2011-05-30 3:59 ` tornenvi
2011-05-30 5:30 ` Yannick Duchêne (Hibou57)
2011-05-30 8:20 ` tornenvi
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox