You are not logged in.

#1 2012-07-18 16:48:40

zasdfgbnm
Member
From: China
Registered: 2011-11-26
Posts: 30

Static Library not supported?

There seems to be no static library available to install.  It's inconvenient to do some static links, which is useful for cross building for other system.  Is there good solutions?

Offline

#2 2012-07-18 17:05:58

W.F.Cody
Member
From: Ghent
Registered: 2010-11-18
Posts: 125

Re: Static Library not supported?

I would propose looking at musl libc and the musl-gcc wrapper. The glibc is actually pretty bad at static linking (by design) so if you want static binaries, it could be better doing it against a light-weight library that has had static linking in mind from its inception.

https://aur.archlinux.org/packages.php?ID=46475


My AUR packages
Any package of mine is up for grabs. If you think you could mantain it better - just contact me!

Offline

#3 2012-07-18 17:24:24

zasdfgbnm
Member
From: China
Registered: 2011-11-26
Posts: 30

Re: Static Library not supported?

Thanks for your reply but what I want is not glibc:)
I want to static link qt, whose total installed size is 90.26 MiB, which is too large for me.  I'm writing a small tool to help my parents backup and rescue their Windows XP.  I want my backup file stored in a linux partition to avoid virus.  Ghost is a good tool, but It's hard to use for my parents.  There is not enough space to install a full function linux.

Offline

Board footer

Powered by FluxBB