Subject: Re: gcc 3 <-> 2.95, STL & NetBSD
To: netbsd-help <netbsd-help@netbsd.org>
From: =?ISO-8859-1?Q?Florian_St=F6hr?= <florian.stoehr@login-solutions.de>
List: netbsd-help
Date: 07/08/2003 14:55:07
If you want to use any pkg version (stlport, for example) of the STL,
you have to compile your program with
-I/usr/pkg/include/stlport
or whatever. Otherwise the GCC will use it's own STL files.
I have done this several times and it works perfectly with all STL
versions, under NetBSD 1.6
Florian
Richard Rauch wrote:
> Re. http://mail-index.netbsd.org/netbsd-help/2003/07/07/0002.html
>
> I'm not sure about 1.6.1 or gcc 3.x, but under NetBSD 1.6 the STL
> resides in /usr/include, since gcc ships with the system. (It sounds
> like you're trying to use the gcc that comes with the system---2.95.3
> is also the gcc version with 1.6, and also I assume with 1.6.1.)
>
> The /usr/pkg/include/ STL files are coming from something in the package
> system (possibly gcc 3.x). I haven't used the pkgsrc versions of gcc
> much, but I would think that you should not need to know where the
> compiler has installed its headers unless you move them around.
>
>
> I hope that that helps some. (^&
>