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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Thread: 103376,40509554d579e4f5 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.icl.net!proxad.net!cleanfeed2-a.proxad.net!nnrp9-2.free.fr!not-for-mail Return-Path: X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: GNAT on MinGW Date: Fri, 2 Mar 2007 09:55:26 -0800 In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: GNAT on MinGW Thread-Index: AcdcyK5GwpVthNIlTcqFNP1Xq7WnpgAJ3gKA References: <1172232426.5367.9.camel@localhost.localdomain> <6ify8xypj6.fsf@hod.lan.m-e-leypold.de> <45e540e5$1@news.post.ch> <45e67b0f$1@news.post.ch> From: "Vo, Anh \(US SSA\)" To: X-OriginalArrivalTime: 02 Mar 2007 17:55:27.0203 (UTC) FILETIME=[F5AECB30:01C75CF3] X-Virus-Scanned: amavisd-new at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.9rc1 Precedence: list List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.ada Message-ID: X-Leafnode-NNTP-Posting-Host: 88.191.17.134 Organization: Guest of ProXad - France NNTP-Posting-Date: 02 Mar 2007 19:00:03 MET NNTP-Posting-Host: 88.191.14.223 X-Trace: 1172858403 news-1.free.fr 27891 88.191.14.223:37628 X-Complaints-To: abuse@proxad.net Xref: g2news2.google.com comp.lang.ada:9640 Date: 2007-03-02T19:00:03+01:00 -----Original Message----- From: comp.lang.ada-bounces+anh.vo=3Dbaesystems.com@ada-france.org [mailto:comp.lang.ada-bounces+anh.vo=3Dbaesystems.com@ada-france.org] On Behalf Of Fionn Mac Cumhaill Sent: Friday, March 02, 2007 4:38 AM To: comp.lang.ada@ada-france.org Subject: Re: GNAT on MinGW << [...] Hmm. I have been trying to build gcc 4.2 snapshots with MinGW and MSYS. With MSYS, the /mingw/include location for headers tends to baffle configure scripts which expect /usr/include. I used the configure option --oldincludedir=3D/mingw/include=20 My MinGW/MSYS build goes quite a long way before it crashes. It completes all three stages of building the compiler (configured to build c, c++, and Ada) and then fails building the Ada rtl. I posted a request for help on the gcc-help mailing list, but got no answers; apparently the Ada wizards don't pay much attention to gcc-help. (See The Ada error message that I got was "a-calend.adb:44:17: "Ada.Calendar" is not a predefined library unit" Predefined library units seem to be some kind of private club, and the stage three 4.2 snapshot compiler seems to be confused as to what the membership requirements are. >> I built gcc-4.1.2 for Ada, C, and C++ using MinGW/MSYS last week. It crashed hard after going about 1/50 of the way. By the way, I use Window 2k. I had a similar problem yesterday when it got to Ada rtl. The problem was that cygwin did not handle soft link well compared to say Linux. My fix was to delete all the soft links for Ada rtl source files and replaced with the real files. The latest problem I have is missing _spawnvp as shown in the error message below. make[5]: Entering directory `/cygdrive/e/build-4.1.2/gcc/ada/rts' /cygdrive/e/build-4.1.2/./gcc/xgcc -B/cygdrive/e/build-4.1.2/./gcc/ -B/usr/local /mingw32/bin/ -B/usr/local/mingw32/lib/ -isystem /usr/local/mingw32/include -isy stem /usr/local/mingw32/sys-include -c -DIN_GCC `echo -g -O2 -fexceptions -DI N_RTS |sed -e 's/-pedantic//g' -e 's/-Wtraditional//g'` -I. -I.. -I../.. -I /cygdrive/e/gcc-4.1.2/gcc/ada -I/cygdrive/e/gcc-4.1.2/gcc/ada/../config -I/cygdr ive/e/gcc-4.1.2/gcc/ada/../../include -I/cygdrive/e/gcc-4.1.2/gcc/ada/.. -I./../ .. adaint.c \ -o adaint.o xgcc.exe: _spawnvp: No such file or directory make[5]: *** [adaint.o] Error 1 make[5]: Leaving directory `/cygdrive/e/build-4.1.2/gcc/ada/rts'=20