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,f93aaab45e1d9398 X-Google-Attributes: gid103376,public From: labtek@cs.yale.edu (Tom Griest) Subject: Re: gnat compiling error Date: 1996/03/22 Message-ID: <4iukg6INNe2c@RA.DEPT.CS.YALE.EDU>#1/1 X-Deja-AN: 143729823 references: <4itoro$kih@mother.usf.edu> organization: Yale University, Department of Computer Science, New Haven, CT newsgroups: comp.lang.ada Date: 1996-03-22T00:00:00+00:00 List-Id: In article <4itoro$kih@mother.usf.edu> nobody@nowhere writes: ^^^^^^^^^^^^^^ Hmmmm. I wonder if this is just a spoof.... >I was wondering if any one can help me. I am trying to get gnat 3.01a for >win95 to compile. After using gnatmake file.adb (or gcc -c file.adb (works) >and gnatbl file.ali (crashes)) I reciece an error when the program calls >ld.exe. It returns a message saying c:\gnat301a\gnu_ld\ld.exe cannot find >file or path -lgcc . First of all, make sure you apply the two updates that can be found in ftp.cs.yale.edu/pub/gnat/updates/gnat301a or on the nyu site. (If you want to be automatically notified when updates come out, let me know and I'll put you on the list to recieve GNAT/Win32 NEWS) Secondly, you can see more about what is going on by using the -v switch with gnatmake. In this case, you are interested in linker related problems, so you want to pass "-v" as a linker argument: gnatmake file -largs -v Make sure that you don't have a file called "specs" in your current directory that would override the normal specs file used by gcc. If these three suggestions don't clear up your problem, send me email and we can make sure it is not a problem with our installer. Tom Griest LabTek Corp.