comp.lang.ada
 help / color / mirror / Atom feed
From: Unknown@unknown.com
Subject: Re: How to install win32ada with Gnat ada95
Date: 1997/08/17
Date: 1997-08-17T00:00:00+00:00	[thread overview]
Message-ID: <33f752d3.0@207.71.36.3> (raw)
In-Reply-To: 5t6pa8$b1a$1@goanna.cs.rmit.edu.au


In article <5t6pa8$b1a$1@goanna.cs.rmit.edu.au>, ssy@yallara.cs.rmit.edu.au (Lawrence Yeo) wrote:
>Unknown@unknown.com wrote:
> [deleted]
>I don't think the readme file came with win32ada is helpful in term of how
>to install it....  It says to run the setpath.bat from gnat and then run the
>setpath from win32ada, but the thing is I can't find the setpath.bat anywhere
>on my usr directory.
>
>cheers,
>Lawrence

Firstly I use Win32Ada_308.zip found at 
http://www.inmet.com/~mg/win32ada/win32ada.html 
rather then Win32Ada.zip

Ok, for GNAT-3.09-nt, I don't run a "setpath.bat" but I set my path to include 
"d:\usr\bin" in autoexec. For any given compile session, (in a DOS window), 
the compiler can find the GNAT Ada Inludes, but to use Win32Ada you need to 
"set ADA_INCLUDE_PATH=/Win32Ada/src", "set ADA_OBJECTS_PATH=/Win32Ada/src" and 
"set LIBRARY_PATH=/WIn32Ada/Lib". I have found that the GNAT system prefers 
the UNIX style "slash" pathnames when there is more than one path that needs 
to be searched. ie "LIBRARY_PATH=/Win32Ada/Lib:/SomeLibPath/Lib" and note the 
colon instead of the semicolon. (Also note, I don't know how to express the 
UNIX pathname if your Win32Ada is installed on a different drive from the GNAT 
installation, but I know it is not an insurmountable problem)

With this setup you should be able to start compiling and using some the 
Win32Ada features. However, I have found that some of the features are not 
available due to differences between the MSVCRT and GNAT RT. 

I have manged to compile and run the examples. 

You might look at the GNAT Chat mailings, http://www.gnat.com/chat and look 
for an article from Martin Carlisle in which he points to an IDE project that 
he has devleoped using GNAT and Win32Ada.

Simon Knipe - sknipe@ktc.com




  reply	other threads:[~1997-08-17  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-08-16  0:00 How to install win32ada with Gnat ada95 Lawrence Yeo
1997-08-16  0:00 ` Unknown
1997-08-17  0:00   ` Lawrence Yeo
1997-08-17  0:00     ` Unknown [this message]
1997-08-17  0:00 ` Jerry van Dijk
1997-08-17  0:00 ` Unknown
replies disabled

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