Gentoo Archives: gentoo-dev

From: Grant Goodyear <g2boojum@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] tr1 dependencies
Date: Tue, 30 Jan 2007 16:50:23
Message-Id: 20070130164708.GE23810@feynman.corp.halliburton.com
In Reply to: [gentoo-dev] tr1 dependencies by Ciaran McCreesh
1 Ciaran McCreesh wrote: [Tue Jan 30 2007, 12:27:49AM CST]
2 > * Hard dep upon boost. This sucks for g++-4.1 users.
3
4 Agreed. Worse, it's a stop-gap measure, since presumably the long term
5 solution is for tr1 to be supported directly by the compiler on all
6 archs. So, any work done with this approach would just have to be
7 undone in the future.
8
9 > * Hard dep upon g++-4.1, which isn't available for all archs. This
10 > doesn't even work because there's no guarantee that >=4.1 is being used
11 > even if it's installed.
12
13 I haven't done my homework, so I'll just ask: Is there a reasonable
14 timeframe for 4.1 on archs that we're using? Is there actual evidence
15 that tr1-using packages are going to become prevalent before 4.1+
16 becomes ubiquitous?
17
18 An alternative, which would be a real pain, is to have <g++-4.1 ebuilds
19 build boost tr1 libraries as part of the ebuild, and then have
20 compatibility libraries for people who remove old versions of g++,
21 just like we do now. The benefit would be that at the cost of forcing
22 everybody to upgrade g++ we could rely on tr1 existing everywhere.
23
24 *Shrug* Hopefully somebody has a better idea.
25
26 -g2boojum-
27 --
28 Grant Goodyear
29 Gentoo Developer
30 g2boojum@g.o
31 http://www.gentoo.org/~g2boojum
32 GPG Fingerprint: D706 9802 1663 DEF5 81B0 9573 A6DC 7152 E0F6 5B76

Replies

Subject Author
Re: [gentoo-dev] tr1 dependencies Ciaran McCreesh <ciaranm@×××××××.org>