comp.lang.ada
 help / color / mirror / Atom feed
From: "Vo, Anh \(US SSA\)" <Anh.Vo@baesystems.com>
To: <comp.lang.ada@ada-france.org>
Subject: RE: GNAT on MinGW
Date: Fri, 2 Mar 2007 09:55:26 -0800
Date: 2007-03-02T19:00:03+01:00	[thread overview]
Message-ID: <mailman.110.1172858159.18371.comp.lang.ada@ada-france.org> (raw)
In-Reply-To: <g35gu21hr5lk3mmnsl8s69lfbo3np1boah@4ax.com>

-----Original Message-----
From: comp.lang.ada-bounces+anh.vo=baesystems.com@ada-france.org
[mailto:comp.lang.ada-bounces+anh.vo=baesystems.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=/mingw/include 

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 <http://gcc.gnu.org/ml/gcc-help/2007-02/msg00378.html>

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' 



  reply	other threads:[~2007-03-02 17:55 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-23 12:07 recent changes in compiler pricing Georg Bauhaus
2007-02-23 13:04 ` Jeffrey Creem
2007-02-23 13:25 ` Markus E Leypold
2007-02-25  1:41   ` Jeffrey R. Carter
2007-02-25 14:03     ` Steve
2007-02-26  9:28       ` Maciej Sobczak
2007-02-26 10:37         ` Georg Bauhaus
2007-02-26 13:04       ` Stephen Leake
2007-02-28  2:27         ` Steve
2007-02-28  8:44           ` GNAT on MinGW Martin Krischik
2007-02-28 19:11             ` Michael Bode
2007-03-01  7:04               ` Martin Krischik
2007-03-01 16:56                 ` Vo, Anh (US SSA)
2007-03-01 20:15                   ` Martin Krischik
2007-03-02  0:36                   ` Cesar Rabak
2007-03-02 17:26                     ` Vo, Anh (US SSA)
2007-03-03  5:15                       ` Cesar Rabak
2007-03-02 12:38                   ` Fionn Mac Cumhaill
2007-03-02 17:55                     ` Vo, Anh (US SSA) [this message]
2007-03-03 10:09                       ` Simon Wright
2007-03-03 10:51                         ` Martin Krischik
2007-03-01 19:26                 ` Michael Bode
2007-03-01 20:27                   ` Martin Krischik
2007-03-02 18:39                     ` Michael Bode
2007-03-03 10:29                       ` Martin Krischik
2007-02-25 16:40     ` recent changes in compiler pricing Markus E Leypold
2007-02-26 17:22       ` dave.wood
2007-02-25 23:06     ` Yves Bailly
2007-02-28 10:04       ` Colin Paul Gloster
replies disabled

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