Subject: Re: gcc 3.3 & '/usr/bin/ld: cannot find -lgcc_eh'
To: David Brownlee <abs@mono.org>
From: grant beattie <grant@netbsd.org>
List: tech-pkg
Date: 06/09/2003 06:10:31
On Sun, Jun 08, 2003 at 06:55:34PM +0100, David wrote:

> 	mail/imap-uw overrides CFLAGS and LDFLAGS and fails to link with
> 	gcc3:
> 
> [...]

> /usr/bin/ld: cannot find -lgcc_eh
> collect2: ld returned 1 exit status
> 
> 	Running the 'make build' command by hand (without the buildlink PATH
> 	setting) causes everything to build correctly.
> 
> 	Any thoughts as to how to approach this?

include mk/gcc.buildlink2.mk so it can find libgcc_eh.

grant.