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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fc208a456ebf1d2b X-Google-Attributes: gid103376,public From: Zbigniew Fryzlewicz Subject: Re: Installing Gnat 'out of environment space' Date: 1996/04/22 Message-ID: <317B634F.6499@ci-4.ci.pwr.wroc.pl>#1/1 X-Deja-AN: 151094087 references: <9604161355.AA14293@eight-ball> content-type: text/plain; charset=us-ascii organization: Politechnika Wroclawska mime-version: 1.0 reply-to: fryzlewicz@ci-4.ci.pwr.wroc.pl newsgroups: comp.lang.ada x-mailer: Mozilla 3.0B2 (Win95; I) Date: 1996-04-22T00:00:00+00:00 List-Id: > > > > There is a slightly more elegant solution. Make a copy of the MS-DOS > prompt shortcut that's in c:\Windows\Start Menu\Programs and put it in > another folder in that same tree structure and then set the properties > in the copy. Following David's advice sets the properties for the default > MS-DOS prompt, which may not always be a good idea, especially if they > issue a fix that makes selecting "Auto" actually work. > > Incidentally, if you do make a copy of the MS-DOS shortcut in another > folder (I've got a folder called Programming) then you can put a new icon > on that shortcut, set the default directory, and, most important of all, > start in a directory of your choice and use the Gnat setpath.bat file as > the initial script! > > One more, uh, feature you may run into: if you've got a space in any > of your names in PATH (e.g., you've installed Netscape under Program > Files), then the PATH line that comes with the Gnat-supplied setpath.bat > will fail with a "Too many arguments" error. > > This does NOT mean that your PATH is too long, which is what a newbie > to DOS might take that to mean. Here's the offending line in > setpath.bat (or an approximation to it): > > set PATH=D:\Ada\Gnat;%PATH% > > The problem comes when the existing PATH on the right-hand side of that > line is expanded; DOS finds the space in the existing PATH and barfs > because now you have too many parameters on the right-hand side of the > SET statement. > > Change this line in setpath.bat to: > > set PATH="D:\Ada\Gnat;%PATH%" > > (or whatever the right syntax is -- just add the quotes), and it works > fine. > > The Gnat folks might want to consider modifying setpath.bat, since I > believe the quotes are always harmless if they aren't needed. > > Sorry to be so PC-specific, but there are a lot of them out there, all > owned by potential Ada fans. > > Bob Crispen > revbob@eight-ball.hv.boeing.com > crispen@hiwaay.net > Speaking for myself, not my company I've followed your advice and almost successfully installed AdaWin95. But now new problem has occured. Script file winlibs.ld is invoked when switch mwindows is used in the command line. The contents of the winlibs.ld is as follows: SECTIONS {.text 0x401000 :{ ...\gnat301a\lib\comdlg32.lib ...\gnat301a\lib\advapi32.lib ...\gnat301a\lib\gdi32.lib }} and above mentioned lib files are sought during linking process. However, such files do not exist. I've found only "similiar" files with dll extention, i.e. comdlg32.dll, advapi32.dll, gdi32.dll. My question is how to obtain the required lib files ? (I've followed all steps of installation process). Zbig Fryzlewicz fryzlewicz@ci-4.ci.pwr.wroc.pl