Subject: Options to ld odditiy when building pyxml
To: None <netbsd-help@mail.netbsd.org>
From: Paul Newhouse <newhouse@rockhead.com>
List: netbsd-help
Date: 03/07/2002 14:39:51
Platform-i386:
I'm confused by the -Wl,... stuff being passed to ld. I thought -Wl,...
was a C command line option to pass ... to ld?
creating build/temp.netbsd-1.5.1_ALPHA-i386-2.2
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DHAVE_EXPAT_H -I/usr/pkg/include -I/usr/pkg/include/python2.2 -c extensions/pyexpat.c -o build/temp.netbsd-1.5.1_ALPHA-i386-2.2/pyexpat.o
ld -Bshareable -Wl,-R/usr/pkg/lib -L/usr/pkg/lib build/temp.netbsd-1.5.1_ALPHA-i386-2.2/pyexpat.o -L/usr/pkg/lib -lexpat -o build/lib.netbsd-1.5.1_ALPHA-i386-2.2/_xmlplus/parsers/pyexpat.so -Wl,-R/usr/pkg/lib
ld: invalid command option `-Wl,-R/usr/pkg/lib'
error: command 'ld' failed with exit status 1
: uname -a
NetBSD bigbox 1.5.1_ALPHA NetBSD 1.5.1_ALPHA (BIGBOX) #2: Sun Nov 26 23:01:20 PST 2000 newhouse@pimin:/usr/src/sys/arch/i386/compile/BIGBOX i386
pkgsrc is current (UHH!! ??? maybe that's not going to work!?).
TIA,
Paul