Re: [gentoo-user] Setting CFLAGS for a single build

2008-05-29 Thread dhk
Alex Schuster wrote: Anthony Metcalf writes: Alex Schuster wrote: Um, I meand -nostrip, as I wrote in the example below. But I just tried for myself - I see the -g2 (multiple times), but after building, stripping takes place, even with the one-time FEATURES=-nostrip emerge -1 libxml2 approach:

Re: [gentoo-user] Setting CFLAGS for a single build

2008-05-28 Thread Alex Schuster
Anthony Metcalf writes: > Alex Schuster wrote: > > Um, I meand -nostrip, as I wrote in the example below. But I just > > tried for myself - I see the -g2 (multiple times), but after > > building, stripping takes place, even with the one-time > > FEATURES=-nostrip emerge -1 libxml2 approach: > > Emm

Re: [gentoo-user] Setting CFLAGS for a single build

2008-05-28 Thread Anthony Metcalf
Alex Schuster wrote: Um, I meand -nostrip, as I wrote in the example below. But I just tried for myself - I see the -g2 (multiple times), but after building, stripping takes place, even with the one-time FEATURES=-nostrip emerge -1 libxml2 approach: Emmm, FEATURES="nostrip" will not strip

Re: [gentoo-user] Setting CFLAGS for a single build

2008-05-28 Thread Alex Schuster
dhk writes: (Could you please stop top posting, and put your answers below the quoted part, or, even better, between the parts you quote selectively? This makes it easier to follow the discussion. Thanks!) > I tried it, but I still can't step into the libxml2 library functions. That's too bad.

Re: [gentoo-user] Setting CFLAGS for a single build

2008-05-28 Thread dhk
I tried it, but I still can't step into the libxml2 library functions. Thanks, Dave Alex Schuster wrote: dhk writes: Does this mean the source was removed after the emerge? If so how can I keep the source. Try adding "nostrip" to your FEATURES. Also I like the idea of using "/etc/portag

Re: [gentoo-user] Setting CFLAGS for a single build

2008-05-27 Thread dhkuhl
undefined

Re: [gentoo-user] Setting CFLAGS for a single build

2008-05-24 Thread maxim wexler
--- On Sun, 5/25/08, Sebastian Magri <[EMAIL PROTECTED]> wrote: > From: Sebastian Magri <[EMAIL PROTECTED]> > Subject: Re: [gentoo-user] Setting CFLAGS for a single build > To: gentoo-user@lists.gentoo.org > Date: Sunday, May 25, 2008, 1:49 AM > 2008/5/25 Alan

Re: [gentoo-user] Setting CFLAGS for a single build

2008-05-24 Thread Sebastian Magri
2008/5/25 Alan McKinnon <[EMAIL PROTECTED]>: > On Saturday 24 May 2008, Erik Ruotsalainen wrote: > > On Sat, May 24, 2008 at 10:02:50AM +, dhk wrote: > > > How can I modify the CFLAGS before emerging a package? I want to > > > add -g2 to the compile of libxml2 so I can step through their > >

Re: [gentoo-user] Setting CFLAGS for a single build

2008-05-24 Thread Alan McKinnon
On Saturday 24 May 2008, Erik Ruotsalainen wrote: > On Sat, May 24, 2008 at 10:02:50AM +, dhk wrote: > > How can I modify the CFLAGS before emerging a package? I want to > > add -g2 to the compile of libxml2 so I can step through their > > functions. If I add -g2 to CFLAGS in make.conf it wil

Re: [gentoo-user] Setting CFLAGS for a single build

2008-05-24 Thread Sebastian Magri
Yes, it's a way to do it, also you can create a file with the options as "/etc/portage/env/options" and then simlink to "/etc/portage/env/category/package"... This way you will always emerge this package with the settings declared in the environment dir, it's also usefull so made some optimization

Re: [gentoo-user] Setting CFLAGS for a single build

2008-05-24 Thread dhk
I did the build the non-persistent way and ran my program with the debugger. When I got to the breakpoint for the the library function it says "no line number". See the following from gdb. 3271 pobj=xmlXPathEvalExpression(tag, pctx); (gdb) Breakpoint 3, 0x2ab4493e4480 in xmlXPathEval

Re: [gentoo-user] Setting CFLAGS for a single build

2008-05-24 Thread Sebastian Magri
You can use the "/etc/portage/env/category/package" to declare environment variables for specific packages... 2008/5/25 Erik Ruotsalainen <[EMAIL PROTECTED]>: > On Sat, May 24, 2008 at 10:02:50AM +, dhk wrote: > > How can I modify the CFLAGS before emerging a package? I want to add > > -g2 t

Re: [gentoo-user] Setting CFLAGS for a single build

2008-05-24 Thread Ricardo Saffi Marques
On Sat, May 24, 2008 at 7:02 AM, dhk <[EMAIL PROTECTED]> wrote: > How can I modify the CFLAGS before emerging a package? I want to add -g2 > to the compile of libxml2 so I can step through their functions. If I add > -g2 to CFLAGS in make.conf it will do it for all packages which is not what > I

Re: [gentoo-user] Setting CFLAGS for a single build

2008-05-24 Thread Erik Ruotsalainen
On Sat, May 24, 2008 at 10:02:50AM +, dhk wrote: > How can I modify the CFLAGS before emerging a package? I want to add > -g2 to the compile of libxml2 so I can step through their functions. If > I add -g2 to CFLAGS in make.conf it will do it for all packages which is > not what I want. >

[gentoo-user] Setting CFLAGS for a single build

2008-05-24 Thread dhk
How can I modify the CFLAGS before emerging a package? I want to add -g2 to the compile of libxml2 so I can step through their functions. If I add -g2 to CFLAGS in make.conf it will do it for all packages which is not what I want. Thanks, Dave -- gentoo-user@lists.gentoo.org mailing list