[ale] UNIX equivalent of Windows DLL
Michael H. Warfield
mhw at wittsend.com
Tue Oct 19 09:50:08 EDT 1999
On Tue, Oct 19, 1999 at 04:25:08PM +0200, Kalin Nakov wrote:
> Hi. I'm new to UNIX programming, so the following questions may seem
> stupid, but I would be happy if someone answers them.
> 1. Is there equivalent of Windows DLL's (dynamic loadable libraries) in
> UNIX? If so, can somebody tell me the API to search for?
> I need something like
> lib = load_a_library("mylib");
> func = get_func("my_func");
> func("param1", param2, ...);
That's what the .so files in /lib and /usr/lib are for.
Start with "man dlopen" and go from there.
Normally, you don't need to worry about explicity loading libraries
unless you are doing dynamic plugins. Just linking against the dynamic
libraries is sufficient in most cases.
> 2. Can somebody point out a qood programming environment (IDE) - something
> like Microsoft Visual Studio (something simpler can do certainly, but it
> must have syntax hilighting and debugging capabilities)? It may be Linux
> speciffic, for X Windows or run in a terminal (console) mode.
There are several out there (Code Warrior?) but I have never
needed one and just find they get in the way, so I have no experience there.
> 3. I have RedHat 6.0 (gtk+-1.2.1 and glib-1.2.1) and I downloaded
> gtk+-1.2.6 and glib-1.2.6. I compiled and installed glib-1.2.6, but when
> running ./configure for gtk+-1.2.6 I got the error that I have an old
> version of glib (1.2.1). Can somebody help?
> 4. Is there vector font support (like TrueType) in X Windows? If so, where
> can I such font server?
Check out freetype, <http://www.freetype.org>.
> 5. Are there libraries for making "smooth" edges (antialiasing) of screen
> fonts?
> Your help will be highly appreciated. Thanks in advance.
Mike
--
Michael H. Warfield | (770) 985-6132 | mhw at WittsEnd.com
(The Mad Wizard) | (770) 331-2437 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0xDF1DD471 | possible worlds. A pessimist is sure of it!
More information about the Ale
mailing list