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!news1.google.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!proxad.net!cleanfeed2-b.proxad.net!nnrp14-1.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: Thu, 1 Mar 2007 08:56:36 -0800 In-Reply-To: <45e67b0f$1@news.post.ch> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: GNAT on MinGW Thread-Index: Acdb0K/qBanndtCUTI6F+4hdaz2eIwATl+WQ 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: 01 Mar 2007 16:56:37.0041 (UTC) FILETIME=[93211210:01C75C22] 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: 01 Mar 2007 18:00:03 MET NNTP-Posting-Host: 88.191.14.223 X-Trace: 1172768403 news-1.free.fr 1381 88.191.14.223:45109 X-Complaints-To: abuse@proxad.net Xref: g2news2.google.com comp.lang.ada:9623 Date: 2007-03-01T18: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 Martin Krischik Sent: Wednesday, February 28, 2007 11:05 PM To: comp.lang.ada@ada-france.org Subject: Re: GNAT on MinGW << Michael Bode schrieb: > Martin Krischik writes: >=20 >> I was able to create a gcc-4.1.x on a MinGW/Cygwin combo - However it >> was GNAT/Pro 6.0.1 being created using GNAT/Pro 6.0.0w. - Not much >> help for the Open Source Community. >=20 > I thought you were successfull cross compiling a mingw gcc from linux? No I created a cross compiler for linux. Next step would have been to=20 use that cross compiler to create a native MinGW compiler. But that=20 proved difficult. I have now tried all sorts of tricks and nothing worked out - there was=20 always some show stopper down the line. >> Danny Smith at mingw.org has been building GNAT for Windows. The latest version is 3.4.5. The MinGW/GNAT has less tools when compared to GNAT-GPL. Way back I successfully built GNAT using cygwin. The problem was that the GNAT built did not support tasking run-time because GNAT under cygwin, used to build the newer GNAT, does not have tasking run-time support. Therefore, any Ada codes involving task will not run. Currently, I port MinGW/GNAT to cygwin and build gcc/gnat-4.1.2 using cygwin. The build hit a snap after going one fourth of the way. I scratch my hair with error message as shown below. I would be thankful if any one can tell me what headers it looks for. [...] mv tmp-specs specs if true ; then \ cat ../../gcc-4.1.2/gcc/limitx.h ../../gcc-4.1.2/gcc/glimits.h ../../g cc-4.1.2/gcc/limity.h > tmp-xlimits.h; \ else \ cat ../../gcc-4.1.2/gcc/glimits.h > tmp-xlimits.h; \ fi mv tmp-xlimits.h xlimits.h echo | ./xgcc -B./ -B/usr/gnat/mingw32/bin/ -isystem /usr/gnat/mingw32/include -isystem /usr/gnat/mingw32/sys-include -L/cygdrive/e/build-4.1.2/gcc/../ld -E -d M - | \ sed -n -e 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p' \ -e 's/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \ sort -u > tmp-macro_list /bin/sh ../../gcc-4.1.2/gcc/../move-if-change tmp-macro_list macro_list echo timestamp > s-macro_list The directory that should contain system headers does not exist: /mingw/include make[2]: *** [stmp-fixinc] Error 1 make[2]: Leaving directory `/cygdrive/e/build-4.1.2/gcc' make[1]: *** [stage1_build] Error 2 make[1]: Leaving directory `/cygdrive/e/build-4.1.2/gcc' make: *** [bootstrap] Error 2 =20