[ILUG] Linux's DLL's
kosullivan_xlib Last Name
kosullivan_xlib at my-deja.com
Sat Jun 2 00:46:30 IST 2001
>I come from a Windows programming background.
>How do i compile a C source file into a library? (compiler switches etc)
There is a very good book you might be interested in
"Teach Yourself Linux Programming in 24 Hours" I got it in easons and it comes with 2 CD's and lots of source code. check out www.sams.com and search for the book and you may be able to download some examples.
>Do i need a .DEF file like in M$ Visual C++?
>For example, say i have the following C file:
>
>#include "whatever i need..."
>
>int MyDouble(int x) {
> return x << 1;
>}
>
>int MyHalf(int x) {
> return x >> 1;
>}
>
>What do i have to do to have a library that exports these functions?
>Thanks in advance,
>James
------------------------------------------------------------
--== Sent via Deja.com ==--
http://www.deja.com/
More information about the ILUG
mailing list