Re: [gentoo-user] per-ebuild compil options
On Wed, 2007-10-03 at 22:33 +0100, Neil Bothwick wrote: > Hello Bo Ørsted Andresen, > > > It should have been in /etc/portage/env/ (no .d). cool, that did it - thanks! > Doh! Sorry about that :( no worries :) -- Iain Buchanan The man who runs may fight again. -- Menander -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] per-ebuild compil options
Hello Bo Ørsted Andresen, > It should have been in /etc/portage/env/ (no .d). Doh! Sorry about that :( -- Neil Bothwick There's no place like http://www.home.com signature.asc Description: PGP signature
Re: [gentoo-user] per-ebuild compil options
On Wednesday 03 October 2007 02:38:42 Iain Buchanan wrote: > On Tue, 2007-10-02 at 09:56 +0100, Neil Bothwick wrote: > > mkdir -p /etc/portage/env.d/sys-devel [SNIP] > 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 It should have been in /etc/portage/env/ (no .d). -- Bo Andresen signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] per-ebuild compil options
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 There's no such thing as a free lunch. -- Milton Friendman -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] per-ebuild compil options
On Tue, 02 Oct 2007 14:04:10 +0930, Iain Buchanan wrote: > after recompiling another bunch of libraries just to "unstrip" them, I'm > wondering if I can specify FEATURES and CXXOPTS (for example) on a > per-ebuild basis. > > 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. -- Neil Bothwick --T-A+G-L-I+N-E--+M-E-A+S-U-R+I-N-G+--G-A+U-G-E-- signature.asc Description: PGP signature