Gentoo Archives: gentoo-dev

From: Grant Goodyear <g2boojum@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] USE flags names that make sense for boost lib suggestions needed
Date: Thu, 21 Apr 2005 16:23:46
Message-Id: 20050421162408.GC22089@bmb38.uth.tmc.edu
In Reply to: [gentoo-dev] USE flags names that make sense for boost lib suggestions needed by Daniel Goller
1 Daniel Goller wrote: [Sat Apr 16 2005, 06:26:23PM CDT]
2 > -----BEGIN PGP SIGNED MESSAGE-----
3 > im currently changing the boost build process so users who require boost
4 > only as a dependency of another app only get release versions,
5 > developers would get debug versions as well (another ~40-90MB varying
6 > from system to system it seems) USE=debug is easy choice there
7
8 I'm not really sure what you mean by "debug" versions. Are those
9 versions built with "-g"? In that case you don't need a USE flag, just
10 let the user add "-g" to CFLAGS (and "nostrip" to FEATURES).
11
12 > i intended to then utilize USE=threads to add the multi threaded
13 > versions of libs and single by default or -threads, here comes my
14 > question, the build process allows for <threading>multi
15 > <threading>single and <threading>multi/single, building only
16 > multithreaded versions, only single threaded versions, or both.
17
18 Any idea what the difference in build time is? If it's minor, then just
19 do both. Just because something can be optional does not mean that it
20 must be optional.
21
22 > do the three choices make sense or are we better off with only building
23 > single threaded versions and on USE=threads (to use what already exists
24 > rather then making a new USE flag) then build single/multi
25 > else id need possibly two awkwardly named USE flags (and suggestions for
26 > names (using threads and threadsonly, similar to nptl?)
27 >
28 > similarly it allows for linking to static, dynamic or both
29 > should the static USE flags be used to change from dynamic (proposed
30 > default behaviour) to static, or ADD so build process uses
31 > <runtime-link>static/dynamic
32 > (using static and staticonly if 3 states are needed?)
33
34 In any event, would just ask vapier for his opinion, and do whatever he
35 says.
36
37 -g2boojum-
38 --
39 Grant Goodyear
40 Gentoo Developer
41 g2boojum@g.o
42 http://www.gentoo.org/~g2boojum
43 GPG Fingerprint: D706 9802 1663 DEF5 81B0 9573 A6DC 7152 E0F6 5B76