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,381bf382f5fc012d,start X-Google-Attributes: gid103376,public From: jerry@jvdsys.nextjk.stuyts.nl (Jerry van Dijk) Subject: Re: Gnat linker error Date: 1997/08/27 Message-ID: <872658779.45snx@jvdsys.nextjk.stuyts.nl>#1/1 X-Deja-AN: 268702564 References: <33f8d552.50571683@news.alt.net> Distribution: world Organization: *JerryWare HQ*, Leiden, Holland Newsgroups: comp.lang.ada Date: 1997-08-27T00:00:00+00:00 List-Id: Sorry, I didn't get the original message, In article <33f8d552.50571683@news.alt.net> andy.cornell@ibm.net writes: >On Thu, 31 Jul 1997 01:32:18 -0700, Danny wrote: > >>I just got gnat 3.07 (DOS) and I can't get anything to link.... >> >>c:/djgpp/bin\ld.exe: cannot open -lgnat: No such file or directory >>(ENOENT) >>set ADA_INCLUDE_PATH=3DC:/djgpp/adainc >>set ADA_OBJECTS_PATH=3DC:/djgpp/lib/adalib I do presume that you mean: >>set ADA_INCLUDE_PATH=C:/djgpp/adainc >>set ADA_OBJECTS_PATH=C:/djgpp/lib/adalib In that case, this should work, if GNAT is actually installed at these locations. Or are you trying to link Ada code to a main C program ? >>Well, I'm running DJGPP 2.01 and it works fine (for C/C++), I have Sorry, but GNAT 3.07 for DOS is based upon DJGPP 2.00. You should use either the full DJGPP v2.00 install or the v2.00 version that comes with GNAT. Note that the difference between v2.00 and v2.01 is in some small but crucial c libary functions. Jerry. -- -- Jerry van Dijk | Leiden, Holland -- Consultant | Team Ada -- Ordina Finance | jdijk@acm.org