Date: Wed, 30 Aug 1995 12:35:47 -0500 From: hagan AT navresfor DOT navy DOT mil (Michael Hagan) To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Problem with ld.exe I've downloaded the dos binary version 2.06 of GNAT from cs.nyu.edu, and am having trouble getting it to work with the example file. I am using go32 version 1.12 Maint 2. I do the 'gcc -c hello.adb', and it seems to work; I get the dos prompt back with no messages. When I go to do the 'gnatbl -o hello.exe hello.ali', it thinks for about 20 seconds, then gives the message 'c:/ada/djgpp/bin/ld.exe: cannot open -lgnat: file not found'. I ran the gcc and gnatbl commands from the c:\ada\gnat subdirectory. My path statement and all set statements relfect gnat and djgpp being in the /ada directory. I am running on a Zenith Z-Station 510; 100mhz 486 with 12 megs of memory. I believe that the '-lgnat' referred to in the error message is a switch of some type, but the program is trying to use it as a file name. I had downloaded gnat from ftp.cnam.fr and had the same problem a few weeks ago. Any help with this will be greatly appreciated. Mike Hagan