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 > libraries in static form, i.e. as a .a and not as a .so file. Since > portage does not build static libraries by default I need a way to tell > portage that I really do want to have .a files built. > > I do _not_ want to create a Gentoo package, at least not at this stage > of development.
Still confused :o( Portage is for building Gentoo packages -- if you don't want to build a Gentoo package then why is portage involved? You can compile and link your program with any flags you want to, so as to get static binaries.