Re: [Vala] static linking with Vala
- From: rastersoft <raster rastersoft com>
- To: Jan Hudec <bulb ucw cz>
- Cc: vala-list gnome org
- Subject: Re: [Vala] static linking with Vala
- Date: Fri, 29 Jan 2010 10:41:47 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jan Hudec escribió:
Hi Jan:
Is possible to statically link a Vala program? I need it to compile code
for a Multimedia hard disk for which I don't have all the libraries.
There is no global statically vs. dynamically link. The compiler will link
against static or dynamic libraries depending on what it finds. It's
perfectly OK to have static library for something and dynamic for
something else (GLib only installs dynamic version by default)
Yes, but I'm not talking only about GLib, but even glibc. I mean, a 100%
static binary. Since I don't have the cross-compiler buildchain (yes,
the manufacturer sent the GPL code, but only that, and is not easy to
set up that toolchain for that MIPS processor) I'm building pure static
binaries to avoid conflicts between versions. That requires the use of
the -static modifier and other things. That's what I mean.
- --
Nos leemos
RASTER (Linux user #228804)
raster rastersoft com http://www.rastersoft.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAktirVsACgkQXEZvyfy1ha+p+QCgtvOXZznAx9O4gyO1+PtTJ85j
YjQAoOBQ7JASx7ZDNWFMp9sRAEpB8hxg
=qWHs
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]