comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <marin.condic.auntie.spam@pacemicro.com>
Subject: Re: Mixing Cygnus & Gnat compilers on the same machine
Date: Thu, 19 Apr 2001 12:07:53 -0400
Date: 2001-04-19T16:07:55+00:00	[thread overview]
Message-ID: <9bn2gr$55d$1@nh.pace.co.uk> (raw)
In-Reply-To: 9bmphh$1jt$1@nh.pace.co.uk

Just in case you're ever on a quiz show and the emcee asks you about running
Cygnus with Gnat....... :-)

I installed the Gnat 3.13p I got in the latest "Ada Letters" disk (ASE02_02)
using the gnat-3.13p-nt.exe executable. For reasons I do not understand nor
care to explore too deeply (since everything is fine!) the customary Gnat
commands were not recognized. So I created a batch file with the line:

SET PATH=C:\GNAT\BIN;C:\GNAT\LIB;C:\GNAT\Bindings\Win32Ada;%PATH%

(Don't know if it is going to use the PATH variable to search for bindings.
Oh well, it doesn't cost much!)

Anyway, from here I was able to compile and link your garden variety "Hello
World" program and everything was fine. I don't know off the top of my head
if I need to be executing any other batch files or similar things to
accomplish full visibility of everything Gnat may ever want - I suppose I
should RTFM - but I could apparently find no additional "setup" sorts of
things to do. Maybe someone else knows the answer to that one?

As for Cygnus, apparently all of their search path stuff is being set up by
similar batch files I'm executing when I start up a command line to use
BASH. So depending on where I start my MS-DOS window & which .bat's I
execute, everything seems to be fine.

Now I've not tested very thoroughly, so I expect there could be trouble down
the road in searching for libraries of things, etc. But at least both
compilers will execute and compile code without interfering with each other.

Hope this helps others.....

MDC
--
Marin David Condic
Senior Software Engineer
Pace Micro Technology Americas    www.pacemicro.com
Enabling the digital revolution
e-Mail:    marin.condic@pacemicro.com
Web:      http://www.mcondic.com/


"Marin David Condic" <marin.condic.auntie.spam@pacemicro.com> wrote in
message news:9bmphh$1jt$1@nh.pace.co.uk...
>
> I've found the Cygnus installation stuff here, so I can get back to where
I
> was if something hoses up. I believe I will attempt the install and see
what
> I break. If anything unusual happens, I'll report back here.
>






  reply	other threads:[~2001-04-19 16:07 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-18 15:50 Mixing Cygnus & Gnat compilers on the same machine Marin David Condic
2001-04-18 19:10 ` Simon Wright
2001-04-18 19:44 ` Gerhard Häring
2001-04-18 20:22   ` Marin David Condic
2001-04-19  2:18     ` Gerhard Häring
2001-04-19  4:20       ` David Starner
2001-04-19 13:13       ` Larry Kilgallen
2001-04-19 13:44         ` Marin David Condic
2001-04-19 13:34       ` Marin David Condic
2001-04-19 16:07         ` Marin David Condic [this message]
2001-04-25 18:12           ` Marin David Condic
2001-04-25 19:53             ` Sune Falck
2001-04-25 20:51               ` Marin David Condic
2001-04-19 19:53         ` Marc A. Criley
2001-04-19 20:59           ` Marin David Condic
2001-04-20  0:23         ` Ben Brosgol
2001-04-20 14:01           ` Marin David Condic
2001-04-20 14:45             ` Jean-Pierre Rosen
2001-04-20 15:08             ` Tarjei T. Jensen
2001-04-20 22:27             ` Stephen Leake
2001-04-23 15:11               ` Marin David Condic
2001-04-23 16:29                 ` Scott Ingram
2001-04-23 18:44                   ` Marin David Condic
2001-04-23 19:26                     ` Ted Dennison
2001-04-24 13:40                       ` Marin David Condic
2001-04-23 18:50                   ` David Starner
2001-04-23 19:03         ` Matthias Andree
2001-04-24 13:58           ` Marin David Condic
2001-04-24 16:55             ` David Starner
2001-04-25  7:42               ` Pascal Obry
2001-04-25 19:11                 ` David Starner
2001-04-24 17:43           ` Ted Dennison
2001-04-25 11:27             ` Matthias Andree
replies disabled

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