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,1da9a8e80143e3fb,start X-Google-Attributes: gid103376,public From: Danny Subject: Gnat linker error Date: 1997/07/31 Message-ID: <33E04D92.767C@sd.znet.com>#1/1 X-Deja-AN: 260886498 Organization: None Reply-To: daley@sd.znet.com Newsgroups: comp.lang.ada Date: 1997-07-31T00:00:00+00:00 List-Id: I just got gnat 3.07 (DOS) and I can't get anything to link.... The error message I get is c:/djgpp/bin\ld.exe: cannot open -lgnat: No such file or directory (ENOENT) The docs I've read say this is either a problem with my environment parameters, or I don't have djgpp, or I have djgpp and gnat in seperate directories.... Well, I'm running DJGPP 2.01 and it works fine (for C/C++), I have gnat and djgpp both installed under c:\djgpp, and I have the following in my autoexec.bat: set TMPDIR=C:/djgpp/tmp set DJGPP=C:/djgpp/djgpp.env set ADA_INCLUDE_PATH=C:/djgpp/adainc set ADA_OBJECTS_PATH=C:/djgpp/lib/adalib set GW-GNAT=C:/djgpp/gw-gnat I also have C:/djgpp/bin, C:/djgpp/lib, and C:/djgpp/gw-gnat in the path... I'm just getting started in Ada, and I'm sorry if this is a lame question to ask, but I've read all the docs and FAQs I could find, and I really am stuck... -=- Danny