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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no 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!news1.google.com!news.glorb.com!news-xfer.nntp.sonic.net!news.astraweb.com!border6.newsrouter.astraweb.com!not-for-mail Date: Mon, 30 May 2011 17:50:31 +0930 From: tornenvi User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: MinGW issues with gnat References: <4de31622$0$11103$c3e8da3@news.astraweb.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Message-ID: <4de35350$0$29897$c3e8da3$5496439d@news.astraweb.com> Organization: Unlimited download news at news.astraweb.com NNTP-Posting-Host: 3859dc6a.news.astraweb.com X-Trace: DXC=b4;ZQE;dVS2l=bkA3Hk5C1L?0kYOcDh@:7^o:UA4R?c5HIPDifKVMe>]G;2>V^?kW35nG\Kji_U1:aQYI[M5S@X5^H0F1 On 30/05/2011 3:00 PM, Yannick DuchĂȘne (Hibou57) wrote: > Le Mon, 30 May 2011 05:59:28 +0200, tornenvi 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.