comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov>
Subject: Re: Using Windows GNAT with Cygwin
Date: 15 May 2001 17:03:27 -0400
Date: 2001-05-15T21:19:08+00:00	[thread overview]
Message-ID: <u3da6nx40.fsf@gsfc.nasa.gov> (raw)
In-Reply-To: 2m53gtkmvaou7ktac1jfmfmb32iuiernkm@4ax.com

Thore B. Karlsen <eightbit@cs.utexas.edu> writes:

> I've been looking around for FAQs on this, but to no avail.
> 
> I have Cygwin installed, but I installed the Windows port of GNAT
> because I want to create standalone executables that don't need the
> Cygwin library. The problem is, of course, that GNAT and Cygwin have
> their own sets of compilers. So how would I go about getting gnatmake to
> use its own gcc and other tools, and not Cygwin's tools?

Set PATH appropriately. There is also one registry setting that Cygwin
and GNAT fight over; 

HKEY_LOCAL_MACHINE\SOFTWARE\Free Software Foundation

The simplest way to manage this is to use the Registry Editor to
export this key (to a .reg file) after installing Cygwin, and again
after installing GNAT. Then run the appropriate .reg file when you
need to run the compiler.

This use of the registry is totally inappropriate, as far as I can
tell. It just gets in the way.

You can set PATH and run the .reg file from a batch script; that
simplifies things a bit.

-- 
-- Stephe



       reply	other threads:[~2001-05-15 21:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <2m53gtkmvaou7ktac1jfmfmb32iuiernkm@4ax.com>
2001-05-15 21:03 ` Stephen Leake [this message]
2001-05-15 21:24   ` Using Windows GNAT with Cygwin Marin David Condic
     [not found]   ` <hgq3gt8mch5qsmieckv2hkolo3ohbmf64e@4ax.com>
2001-05-16 19:41     ` Stephen Leake
2001-05-16 19:51       ` Ed Falis
replies disabled

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