comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey Creem" <jeff@thecreems.com>
Subject: Re: GCC 3.1 released
Date: Mon, 20 May 2002 23:22:37 GMT
Date: 2002-05-20T23:22:37+00:00	[thread overview]
Message-ID: <1zfG8.39426$sg2.9882949@typhoon.ne.ipsvc.net> (raw)
In-Reply-To: 4519e058.0205201052.73dfa6c5@posting.google.com



> > What file(s) do I need to download from where to get the Windows version
of
> > Gnat/GCC?
>

I deleted a lot here but I'll try to answer the question above along with
talking to some of the topics in this thread.

First of all.. No matter what else you do, you should get the GNAT 3.14
binary from
ftp://ftp.cs.nyu.edu/pub/gnat/3.14p/winnt/

Once that is done, you will have a windows version of GNAT/GCC (just not the
latest).

Next, if you want to build the windows version from 3.1 sources...that will
be more fun..
I thought it would be fun to try since I have had some experience building
GNAT from sources under Linux and Solaris (and even a cross compiler or two)

I download the msys packages that come with the mingw distribution (but note
that I do not have the "rest" of the mingw tools installed (i.e. no mingw
gcc other than GNAT 3.14)
and was able to do the configure of the 3.1 sources... and the "touch"
commands called out in the
gcc build instructions.

 Fairly early in build process(but after creating xgcc, g++, etc)    it
failed with


if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
./xgcc -B./ -Bf:/local/i686-pc-mingw32/bin/ -isystem
f:/local/i686-pc-mingw32/include -isystem
f:/local/i686-pc-mingw32/sys-include -O2 -I../../gcc-3.1/gcc/../winsup/inclu
de -I../../gcc-3.1/gcc/../winsup/cygwin/include -I../../gcc-3.1/gcc/../winsu
p/w32api/include -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -W
missing-prototypes -isystem
./include   -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc-3
.1/gcc -I../../gcc-3.1/gcc/. -I../../gcc-3.1/gcc/config -I../../gcc-3.1/gcc/
../include -DL_chkstk -xassembler-with-cpp -c
../../gcc-3.1/gcc/config/i386/cygwin.asm -o libgcc/./_chkstk.o
as: unrecognized option `--gstabs'
xgcc.exe: Internal error: Signal 0 (program as)
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.



I have not submitted a bug report because I expect operator error.. (Most
likely being that I need to build new
binutils tell this new compiler to use the newly build GNU as,ld rather than
the one that comes with GNAT 3.14).


In any case, after the failure I have not gotten a chance to go look at this
again... I am not even 100% that it is possible
to build with only the msys environment.... I suppose I will have to break
down and really read all of the documents on
this.

If someone figures this out we could probably get a build hosted on
adapower.com


But, unless you really really want to build your own compiler for fun, use
3.14p until someone else figures this out.





  reply	other threads:[~2002-05-20 23:22 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-16 12:42 GCC 3.1 released Steve Sangwine
2002-05-16 13:08 ` chris.danx
2002-05-16 22:08   ` Robert Dewar
2002-05-18  2:59     ` Bobby D. Bryant
2002-05-18  9:22       ` Adrian Knoth
2002-05-18 12:25         ` Bobby D. Bryant
2002-05-18 14:16         ` Jeffrey Creem
2002-05-18 14:56           ` Adrian Knoth
2002-05-18 20:20           ` Robert Dewar
2002-05-18 21:26             ` Simon Wright
2002-05-18 23:07             ` Jeffrey Creem
2002-05-19  5:53               ` Robert Dewar
2002-05-19  9:21             ` Jerry van Dijk
2002-05-20 16:30               ` Ted Dennison
2002-05-20 13:35   ` John R. Strohm
2002-05-20 18:52     ` Ted Dennison
2002-05-20 23:22       ` Jeffrey Creem [this message]
2002-05-21  0:02         ` Jeffrey Creem
2002-05-21 19:10           ` Ted Dennison
replies disabled

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