On Wed, Mar 15, 2017 at 02:01:06PM +0100, walter harms wrote:
> you are aware the glibc does not support static linking ?
>
> re,
> wh
The glibc caveats surrounding static linking are completely orthogonal to
what is happening here. The library order in the link phase matters and
`pkg-config
you are aware the glibc does not support static linking ?
re,
wh
Am 15.03.2017 02:16, schrieb x...@pengaru.com:
> Hello list,
>
> I'm trying to support clean-ish static linking of a small autotools and
> libx11-using monitoring program via:
>
> PKG_CONFIG="pkg-config --static"
Hello list,
I'm trying to support clean-ish static linking of a small autotools and
libx11-using monitoring program via:
PKG_CONFIG="pkg-config --static" LDFLAGS="-static" ./configure
But linking fails on libdl and libpthread symbols:
$ gcc -g -O2 -static -o vwm vwm-clickety.o