Subject: Re: POSIX threads & NetBSD 1.6?
To: None <mcmahill@mit.edu>
From: Brad Knowles <brad.knowles@skynet.be>
List: port-sparc
Date: 10/16/2002 03:43:24
At 9:05 PM -0400 2002/10/15, mcmahill@mtl.mit.edu wrote:
> I think you're missing something here. /usr/local/include is _not_
> normally included and headers in there need -I/usr/local/include just like
> things installed in /usr/pkg/include. Also /usr/local/lib is _not_
> normally included either. You need -L/usr/local/lib -R/usr/local/lib just
> like you'd need -L/usr/pkg/lib -R/usr/pkg/lib.
Perhaps the compiler does not automatically include these
directories. I was under the impression it did.
Regardless, this is something that existing configuration tools
typically handle without additional assistance. The same cannot be
said for /usr/pkg/include and /usr/pkg/lib, etc....
> And I should point out, this is not unique to netbsd. You very often
> times see 3rd party stuff installed in /opt/local or even /opt/pkgname on
> solaris systems.
Or /usr/opt, or any of several other places. Yes, I know. Among
the wide variety of OSes I've administered over the years, some
Solaris boxes have been included.
But I'm pretty sure that the location of header and library files
are pretty standardized. And I believe that Solaris includes POSIX
threads out of the box. I'll be able to find out for sure tomorrow,
when I get to work and can check some of our 200+ Solaris servers,
including everything from SPARCstation 4's to E10k's.
> now you'll need -I/usr/local/include -L/usr/local/lib -R/usr/local/lib
> just like you would on any other system.
Precisely my point.
Moreover, autoconf finds these things automatically, and I don't
have to worry about it.
--
Brad Knowles, <brad.knowles@skynet.be>
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
-Benjamin Franklin, Historical Review of Pennsylvania.
GCS/IT d+(-) s:+(++)>: a C++(+++)$ UMBSHI++++$ P+>++ L+ !E W+++(--) N+ !w---
O- M++ V PS++(+++) PE- Y+(++) PGP>+++ t+(+++) 5++(+++) X++(+++) R+(+++)
tv+(+++) b+(++++) DI+(++++) D+(++) G+(++++) e++>++++ h--- r---(+++)* z(+++)