1 |
On Tue, 2007-10-02 at 09:56 +0100, Neil Bothwick wrote: |
2 |
> On Tue, 02 Oct 2007 14:04:10 +0930, Iain Buchanan wrote: |
3 |
|
4 |
[snip] |
5 |
|
6 |
> > eg. I would always want to build glib and glibc with nostrip in the |
7 |
> > FEATURES, and -ggdb in the compile options, but all other ebuilds would |
8 |
> > be as normal. |
9 |
> |
10 |
> mkdir -p /etc/portage/env.d/sys-devel |
11 |
> echo 'FEATURES="blah nostrip"' >/etc/portage/env.d/sys-devel/gcc |
12 |
> echo 'CFLAGS="blah -ggdb"' >>etc/portage/env.d/sys-devel/gcc |
13 |
> etc. |
14 |
|
15 |
hey that looks cool... except that it didn't work! I should be doing |
16 |
this to dev-libs/glib and sys-libs/glibc right? |
17 |
|
18 |
$ cat /etc/portage/env.d/dev-libs/glib |
19 |
FEATURES="${FEATURES} nostrip" |
20 |
CFLAGS="${CFLAGS} -ggdb" |
21 |
|
22 |
$ sudo emerge -va1 glib |
23 |
... |
24 |
$ file /usr/lib/libglib-2.0.so.0.1400.1 |
25 |
/usr/lib/libglib-2.0.so.0.1400.1: ELF 32-bit LSB shared object, Intel |
26 |
80386, version 1 (SYSV), stripped |
27 |
|
28 |
it now says stripped, whereas last time when I specified FEATURES on the |
29 |
command line before emerge, it came out as not stripped... |
30 |
|
31 |
I also tried this: |
32 |
$ cat /etc/portage/env.d/dev-libs/glib |
33 |
FEATURES="fixpackages userpriv usersandbox userfetch nostrip" |
34 |
CFLAGS="-O2 -march=pentium4 -pipe -ggdb" |
35 |
CXXFLAGS="-O2 -march=pentium4 -pipe -ggdb" |
36 |
|
37 |
and they still end up stripped... |
38 |
|
39 |
any ideas why? thanks! |
40 |
-- |
41 |
Iain Buchanan <iaindb at netspace dot net dot au> |
42 |
|
43 |
There's no such thing as a free lunch. |
44 |
-- Milton Friendman |
45 |
|
46 |
-- |
47 |
gentoo-user@g.o mailing list |