From: "John R. Strohm" <strohm@airmail.net>
Subject: Re: Prebuilt version of gcc 3.1 with Ada as an additional package for windows
Date: Thu, 23 May 2002 12:04:20 -0700
Date: 2002-05-23T12:04:20-07:00 [thread overview]
Message-ID: <88BD8198C536533F.8EA983545BC74B34.2DCD6B12637CB73F@lp.airnews.net> (raw)
In-Reply-To: 5E094997146C7741.0FB80E038D2768EF.1E05937DD68AE7CE@lp.airnews.net
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 4020 bytes --]
Progress report: It apparently works.
Approximate procedure for installing gcc3.1 with the prebuilt GNAT Ada95
compiler
1. Obtain a dearchiver that knows how to deal with .tar.gz tarballs. I
used PowerArchiver 7.02.08 from http://www.powerarchiver.com
2. Download the following tarball from http://www.mingw.org
mingw-1.0.1-20010726.tar.gz
3. Download the following tarballs from
http://sourceforge.net/project/showfiles.php?group_id=2435.
gcc-3_1-core-20020516-1.tar.gz
gcc-3_1-Ada-20020516-1.tar.gz
bunutils-2_12_90-20020518-1.tar.gz
mingw-runtime-2.0-20020430.tar.gz
4. Create a new MinGW directory: I used c:\mingw.
5. If you are running Windows 95/98/NT/2000, now is a good time to increase
your environment space allocation.
Under Windows 95/98, see
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q230205 for the gory
details.
Under Windows NT/2000, see
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q158141 for the gory
details.
6. Add c:\mingw\bin to your path. Under Windows 98, edit autoexec.bat.
(And you thought Win95 was a new operating system...)
7. Reboot your PC, to make the environment and path changes operative.
8. Unpack these tarballs into the new directory, IN THE ORDER LISTED ABOVE.
mingw-1.0.1-20010726.tar.gz
9. Verify the basic functionality by typing "gcc -v". See
http://www.mingw.org for more about this.
10. Create a C "Hello world" program. Compile and link it, using "gcc -o
hello hello.c". Execute it by typing "hello".
11. Unpack these tarballs into your MinGW directory.
gcc-3_1-core-20020516-1.tar.gz
gcc-3_1-Ada-20020516-1.tar.gz
bunutils-2_12_90-20020518-1.tar.gz
mingw-runtime-2.0-20020430.tar.gz
12. Define the symbol ADA_INCLUDE_PATH in autoexec.bat as
c:\mingw\lib\gcc-lib\mingw32\3.1\adainclude
13. Define the symbol ADA_OBJECTS_PATH in autoexec.bat as
c:\mingw\lib\gcc-lib\mingw32\3.1\adalib
14. Create an Ada95 "Hello, world" procedure, and compile/link/execute it
using gnatmake.
gnatmake -v -f atest
"John R. Strohm" <strohm@airmail.net> wrote in message
news:5E094997146C7741.0FB80E038D2768EF.1E05937DD68AE7CE@lp.airnews.net...
> Comment. I'm running Windows 98 SE (or some such). Our old DOS friend
> autoexec.bat works for setting environment variables and PATH. I
initially
> used the old MS-DOS editor to edit autoexec.bat, then I switched to Edwin
> (an Emacs clone from the MIT Scheme distribution).
>
> This is actually looking like it is going to work.
>
> As I type this, I'm pulling down the gcc 3.1 source tarball, just for
> general culture.
>
> As an aside, a friend of mine was looking for a C/C++ toolset. He's also
> done Ada, back in the days when we were both working at TI Defense. I
plan
> to send him a copy of the results of all this fun.
>
> "John R. Strohm" <strohm@airmail.net> wrote in message
> news:02D6ADD6175DB7B3.1C5346C846F32263.434342A3404AA72C@lp.airnews.net...
> > Progress report.
> >
> > I pulled down various tarballs (actually, .tar.gz balls), and I pulled
> down
> > PowerArchiver. I've installed MinGW, and I've done the basic C "Hello,
> > World" exercise.
> >
> > "Jean-Pierre Rosen" <rosen@adalog.fr> wrote in message
> > news:acdlv1$ovg$1@s1.read.news.oleane.net...
> > >
> > > "Stephen Leake" <stephen.a.leake.1@gsfc.nasa.gov> a �crit dans le
> message
> > news: uptzplhe6.fsf@gsfc.nasa.gov...
> > > > > What is an appropriate Windows utility for opening them? Where
can
> I
> > get
> > > > > it?
> > > >
> > > > WinZip, www.winzip.com, $29 lifetime license (free upgrades).
> > > >
> > > > Cygwin, http://sources.redhat.com/cygwin/
> > > > provides command line tar and gzip
> > > >
> > > Or PowerArchiver (http://www.powerarchiver.com), a free WinZip clone
> > >
> > > --
> > > ---------------------------------------------------------
> > > J-P. Rosen (rosen@adalog.fr)
> > > Visit Adalog's web site at http://www.adalog.fr
> > >
> > >
> >
> >
>
>
next prev parent reply other threads:[~2002-05-23 19:04 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-20 22:13 Prebuilt version of gcc 3.1 with Ada as an additional package for windows Sune Falck
2002-05-21 13:57 ` Ted Dennison
2002-05-21 14:09 ` Ted Dennison
2002-05-21 15:05 ` John R. Strohm
2002-05-21 14:12 ` Stephen Leake
2002-05-21 14:35 ` Jean-Pierre Rosen
2002-05-21 17:35 ` chris.danx
2002-05-22 2:29 ` Steve Doiel
2002-05-22 7:23 ` Pascal Obry
2002-05-22 12:11 ` John English
2002-05-22 14:17 ` martin.m.dowie
2002-05-23 5:35 ` John R. Strohm
2002-05-23 10:42 ` John R. Strohm
2002-05-23 19:04 ` John R. Strohm [this message]
2002-05-21 14:31 ` Michal Nowak
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox