Subject: GNU vs Sun ld(1)
To: None <>
From: Jonathan Perkin <>
List: tech-pkg
Date: 11/28/2002 15:20:24
-r1.18 of graphics/netpbm/patches/patch-aa "fixed" build problems on
Solaris, but assumes the user hasn't built devel/binutils to replace
local /usr/ccs/bin/ld (as I've done).

ifeq ($(OPSYS),SunOS)
LDSHLIB = -Wl,-B,dynamic,-G,-h,$(SONAME)

GNU ld (version 2.11.2 as per pkgsrc) doesn't understand -B.

What's the correct way to fix this?

Jonathan Perkin - Internet Operations Engineer - BBC Internet Services
24x7 Hotline: +44 (0)1628 407 777 (x37777) -