On Tue, 2007-10-02 at 09:56 +0100, Neil Bothwick wrote: > On Tue, 02 Oct 2007 14:04:10 +0930, Iain Buchanan wrote:
[snip] > > eg. I would always want to build glib and glibc with nostrip in the > > FEATURES, and -ggdb in the compile options, but all other ebuilds would > > be as normal. > > mkdir -p /etc/portage/env.d/sys-devel > echo 'FEATURES="blah nostrip"' >/etc/portage/env.d/sys-devel/gcc > echo 'CFLAGS="blah -ggdb"' >>etc/portage/env.d/sys-devel/gcc > etc. hey that looks cool... except that it didn't work! I should be doing this to dev-libs/glib and sys-libs/glibc right? $ cat /etc/portage/env.d/dev-libs/glib FEATURES="${FEATURES} nostrip" CFLAGS="${CFLAGS} -ggdb" $ sudo emerge -va1 glib ... $ file /usr/lib/libglib-2.0.so.0.1400.1 /usr/lib/libglib-2.0.so.0.1400.1: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped it now says stripped, whereas last time when I specified FEATURES on the command line before emerge, it came out as not stripped... I also tried this: $ cat /etc/portage/env.d/dev-libs/glib FEATURES="fixpackages userpriv usersandbox userfetch nostrip" CFLAGS="-O2 -march=pentium4 -pipe -ggdb" CXXFLAGS="-O2 -march=pentium4 -pipe -ggdb" and they still end up stripped... any ideas why? thanks! -- Iain Buchanan <iaindb at netspace dot net dot au> There's no such thing as a free lunch. -- Milton Friendman -- [EMAIL PROTECTED] mailing list