Re: [gentoo-user] Re: Building static libraries

2009-12-15 Thread Renat Golubchyk
On Mon, 14 Dec 2009 22:25:46 +0200 Alan McKinnon wrote: > I'm not sure why you have a problem. A quick search on my box shows > that most libs (of the small number I checked) have .a and .so Most libs, but not all. glibc is one of them. Anyway, I've added "--enable-static" to EXTRA_ECONF and it

Re: [gentoo-user] Re: Building static libraries

2009-12-14 Thread Alan McKinnon
On Monday 14 December 2009 20:28:21 walt wrote: > Renat Golubchyk wrote: > > As you said, you really are confused. :-) Maybe I wasn't clear enough. > > Anyway, I've written a program, and I need it as a statically linked > > binary. In order to link statically the linker (ld) needs all the used > >

Re: [gentoo-user] Re: Building static libraries

2009-12-14 Thread Renat Golubchyk
On Mon, 14 Dec 2009 10:28:21 -0800 walt wrote: > Renat Golubchyk wrote: > > > As you said, you really are confused. :-) Maybe I wasn't clear > > enough. Anyway, I've written a program, and I need it as a > > statically linked binary. In order to link statically the linker > > (ld) needs all the

Re: [gentoo-user] Re: Building static libraries

2009-12-14 Thread Allan Gottlieb
At Mon, 14 Dec 2009 10:28:21 -0800 walt wrote: > Renat Golubchyk wrote: > >> As you said, you really are confused. :-) Maybe I wasn't clear enough. >> Anyway, I've written a program, and I need it as a statically linked >> binary. In order to link statically the linker (ld) needs all the used >>

Re: [gentoo-user] Re: Building static libraries

2009-12-13 Thread Renat Golubchyk
On Sun, 13 Dec 2009 20:53:15 -0500 Albert Hopkins wrote: > On Mon, 2009-12-14 at 01:27 +0100, Renat Golubchyk wrote: > > Since portage does not build static libraries by default... > > But portage *does*. I think it does build static libs for packages > that provide them, it's just that I don't

Re: [gentoo-user] Re: Building static libraries

2009-12-13 Thread Albert Hopkins
On Mon, 2009-12-14 at 01:27 +0100, Renat Golubchyk wrote: > Since portage does not build static libraries by default... But portage *does*. I think it does build static libs for packages that provide them, it's just that I don't think many do (for the reasons I mentioned in the previous post). In

Re: [gentoo-user] Re: Building static libraries

2009-12-13 Thread Renat Golubchyk
On Sun, 13 Dec 2009 14:47:04 -0800 walt wrote: > On 12/13/2009 11:18 AM, Renat Golubchyk wrote: > > I need to build a static binary of a program I wrote. The problem is > > that most packages only install dynamic version of the libraries. > > There are the "static" and "static-libs" USE flags... >