Subject: Re: Compiling problem
To: Neumann, Matthew C <Matthew.Neumann@Wichita.BOEING.com>
From: None <mcmahill@mtl.mit.edu>
List: port-mac68k
Date: 07/23/1999 10:24:44
On Fri, 23 Jul 1999, Neumann, Matthew C wrote:

> I'm trying to compile angband-283 on my new-ish NetBSD install (1.3.3; well,
> it's new to me...).  Since I don't have disk space to install the whole of
> comp.tgz, I've been installing libraries as cc tells me they're needed.
> It's worked well, prompting me for all sorts of *.h files, cc1, ld, and
> crt0.o.  But now I don't know what to do.  I get this:
> ld: -lgcc: no match
> 
> Is there a file I'm missing?  Do I have my makefile flags set incorrectly?
> 
you need the file /usr/lib/libgcc.a

when you give a linker flag of -lgcc that means it wants to link to a file
called libgcc.a.  The usual place to look for the file is /usr/lib/ unless
a -L/path/to/libs option is given to cc.

-Dan