Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaranm@×××××××.org>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] tr1 dependencies
Date: Tue, 30 Jan 2007 06:32:39
Message-Id: 20070130062749.042c15e9@snowdrop
1 [ Background: tr1 is a set of extensions to the C++ Standard Library
2 giving various useful things like hash tables and smart pointers. There
3 are partial implementations included in g++-4.1 and boost and full
4 implementations available from Dinkumware. It is likely that a lot of
5 C++ apps will start using it in the not too distant future. ]
6
7 What is the best way to handle packages that require parts of tr1? The
8 options appear to be:
9
10 * Hard dep upon boost. This sucks for g++-4.1 users.
11
12 * Hard dep upon g++-4.1, which isn't available for all archs. This
13 doesn't even work because there's no guarantee that >=4.1 is being used
14 even if it's installed.
15
16 * || ( ) deps, and hope that if the user has 4.1 installed then they're
17 using it. Since library implementations aren't runtime switchable, this
18 will lead to breakages if users upgrade gcc and then remove boost.
19
20 None of these are particularly nice...
21
22 --
23 Ciaran McCreesh
24 Mail : ciaranm at ciaranm.org
25 Web : http://ciaranm.org/
26 Paludis, the secure package manager : http://paludis.pioto.org/

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] tr1 dependencies Luca Barbato <lu_zero@g.o>
Re: [gentoo-dev] tr1 dependencies Matthias Langer <mlangc@×××.at>
Re: [gentoo-dev] tr1 dependencies Caleb Tennis <caleb@g.o>
Re: [gentoo-dev] tr1 dependencies Grant Goodyear <g2boojum@g.o>
Re: [gentoo-dev] tr1 dependencies "Rémi Cardona" <remi@g.o>
Re: [gentoo-dev] tr1 dependencies "Kevin F. Quinn" <kevquinn@g.o>