Subject: -R vs. -Wl,-R
To: None <tech-pkg@netbsd.org>
From: Hubert Feyrer <hubert@feyrer.de>
List: tech-pkg
Date: 02/03/2004 00:41:47
Trying to build pkgsrc/devel/distcc, I came across the funky feature of
our compile to accept -R on /i386, but not /vax:

vax:
	simh-vax% cc ~/tmp/h.c -o /tmp/o -R/usr/pkg/lib
	cc: unrecognized option `-R/usr/pkg/lib'
	simh-vax% cc -v
	Using builtin specs.
	gcc version 2.95.3 20010315 (release) (NetBSD nb3)
i386:
	miyu% cc ~/tmp/h.c -o /tmp/o -R/usr/pkg/lib
	miyu% cc -v
	Using builtin specs.
	gcc version 2.95.3 20010315 (release) (NetBSD nb3)

On i386, that's not a problem, on vax it is.

Now, I have no clue where this -R comes from, I can only guess it's from
buildlink3, but I'd prefer not to go near that. Can anyone please have a
look?


 - Hubert

P.S.: Cheap NetBSD/vax install via pkgsrc/emulators/simh :-)

-- 
Hubert Feyrer <hubert@feyrer.de>