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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,923a044bad102ebc X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-20 16:26:47 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!newsfeed.cs.wisc.edu!nnxp1.twtelecom.net!news-east.rr.com!chnws02.ne.ipsvc.net!cyclone.ne.ipsvc.net!24.128.8.70!typhoon.ne.ipsvc.net.POSTED!not-for-mail From: "Jeffrey Creem" Newsgroups: comp.lang.ada References: <3ce3a7de.6340210@news.essex.ac.uk> <042C69DEA01C5AFD.8E8C21B503ACB9D1.91C0731258790EF7@lp.airnews.net> <4519e058.0205201052.73dfa6c5@posting.google.com> Subject: Re: GCC 3.1 released X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: <1zfG8.39426$sg2.9882949@typhoon.ne.ipsvc.net> Date: Mon, 20 May 2002 23:22:37 GMT NNTP-Posting-Host: 66.31.5.146 X-Complaints-To: abuse@attbi.com X-Trace: typhoon.ne.ipsvc.net 1021936957 66.31.5.146 (Mon, 20 May 2002 19:22:37 EDT) NNTP-Posting-Date: Mon, 20 May 2002 19:22:37 EDT Organization: ATT Broadband Xref: archiver1.google.com comp.lang.ada:24438 Date: 2002-05-20T23:22:37+00:00 List-Id: > > 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 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.