comp.lang.ada
 help / color / mirror / Atom feed
From: tornenvi <tornenvi@gmail.com>
Subject: Re: MinGW issues with gnat
Date: Mon, 30 May 2011 17:50:31 +0930
Date: 2011-05-30T17:50:31+09:30	[thread overview]
Message-ID: <4de35350$0$29897$c3e8da3$5496439d@news.astraweb.com> (raw)
In-Reply-To: <op.vv938vu8ule2fv@douda-yannick>

On 30/05/2011 3:00 PM, Yannick Duchêne (Hibou57) wrote:
> Le Mon, 30 May 2011 05:59:28 +0200, tornenvi <tornenvi@gmail.com> a écrit:
>> compile on an XP machine and transfer the files to the 2000 machine.
>>
>> I have tried to use MINGW gcc-4.5.0-1 and found the same problem.
>> I believe it depends on the switches used when the compiler is built.
> No, there is no way, you may play with whatever switch you want, this will be systematically the same. The reason was already explained by Ludovic, and here is a reference which base this:
> http://msdn.microsoft.com/en-us/library/ms683215(v=vs.85).aspx
>
> It says:
>
> Minimum supported client Windows Vista, Windows XP with SP1
> Minimum supported server Windows Server 2003
>
> Note even on Windows XP, this may not work, if you've not installed at least Service Pack 1.
>

I checked and you are correct there are no switches or low level defines that allow the compiler
to be built without the use of GetProcessID.

The call has been added to gcc\ada\adainit.c

 From the Ada ChangeLog-2009 for 2009-07-13
----------
	* mingw32.h: Make it explicit that we need XP or later.
and
	* adaint.c: Changes throughout the Windows section to redesign storage
	of the child process list and the process identification.
-------

But as I said before I know MINGW gcc-4.4.0 from the mingw site works.



      reply	other threads:[~2011-05-30  8:20 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
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 [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox