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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2b157f978082f963 X-Google-Attributes: gid103376,public From: Unknown@unknown.com Subject: Re: How to install win32ada with Gnat ada95 Date: 1997/08/17 Message-ID: <33f752d3.0@207.71.36.3>#1/1 X-Deja-AN: 265477420 References: <5t447f$hgj$1@goanna.cs.rmit.edu.au> <33f5f051.0@207.71.36.3> <5t6pa8$b1a$1@goanna.cs.rmit.edu.au> Newsgroups: comp.lang.ada Date: 1997-08-17T00:00:00+00:00 List-Id: 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