Re: [Vala] Static linking



Jan Hudec wrote:
First thing I should make really clear is, that if you want to link program
P against library L statically or dynamically, you compile the program P
the *same* way against *differently compiled library L*.
…


Thanks for the thorough reply! Linking sounds like it can be a lot of
work at times, but it's good to have some more reference about it.

That's really good to know about Gtk. Gtk is pretty much a must for me
(unless we ever get WxVala, or Qt, but since WxWidgets is in C++ instead
of C it might be a problem, right?) So, it sounds like your installer
idea is the way to go, for Windows. It's good to know that I can put the
.dll files in the same folder (is there a way to get a program in Linux
to look for .so files there, out of curiosity?) I don't really have too
much against the normal way for Linux, except that about updates. How do
Macs work in that regard? I know on a Mac you can get Vala through
Darwin, but, you don't need Darwin to run the Vala programs, do you?
It's not the end of the world, if so, but I'd rather it not be that way.

I just wish everyone used Linux (and 64-bit at that). It'd make
programming for them a lot easier, although it'd be a trade for a ton of
other problems (e.g. people who'd want to make everything proprietary).

Are there any libraries commonly used in Vala that aren't compatible
with GNU GPLv3? Please tell me Gtk is fine there.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]