Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jul 2002 14:25:08 -0400 (EDT)
From:      Chris BeHanna <behanna@zbzoom.net>
To:        FreeBSD-Stable <stable@freebsd.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: SGI's STL (Standard Template Library) in base system?
Message-ID:  <20020717142017.W24970-100000@topperwein.dyndns.org>
In-Reply-To: <20020717153407.GA1646@Deadcell.ant>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 17 Jul 2002, Andreas Ntaflos wrote:

> Hello list,
>   Maybe I should be posting this to -hackers, but I'll try anyway.
>
>   Is the Standard Template Library somehow contained in the base
>   system of FreeBSD? I know there is the ports devel/stlport, but if

    The GCC STL is in the base system.  I've had problems with
thread-safe allocators in the GCC 2.95 version.  I haven't tried it in
the 3.x series.

>   it also resides in the base system (just like sendmail, perl, ssh,
>   etc..) it would be no good idea to install it from ports, would it?

    The port will install into /usr/local/include/stlport.  There should
be no worries, but you'll have to add -nostdinc++
-I/usr/local/include/stlport to your CXXFLAGS to use the stlport
version.

>   But if I have to install the port, is it any good? Is it useable?

    My experience with it was on Solaris, and it was quite good
indeed.  There are some Koenig lookup issues when building older
versions of Crypto++ against it, but the current versions should play
happily together.

-- 
Chris BeHanna                      http://www.pennasoft.com
Principal Consultant
PennaSoft Corporation
chris@pennasoft.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020717142017.W24970-100000>