[OT] How to compile a library for linux

Hi,

I think it’s off topic, but I’ll ask anayway.
How can I compile a library, best would be dynamical, for linux?
I would not like to use a makefile if possible …
I took a look at SDL makefiles an config scripts, but thy don’T tell
me much about compiling a dynamically loaded/linked library for linux
like libSDL.

Thanks
Oliver–
Oliver van Porten aka McDeck >||< ICQ: 68507164
Reg. Linux User #170855 >||< IRC: #gamedev.ger
Linux Guru @ skullpture >||< www.skullpture.de
PGP-Key-ID: 0xBC04CA5B >||< “LINUX rulez”

For example:

gcc -fPIC -c lib.c
gcc -shared lib.o -o lib.soOn Mon, Jun 19, 2000 at 08:13:24PM +0200, Oliver van Porten [McDeck] wrote:

Hi,

I think it’s off topic, but I’ll ask anayway.
How can I compile a library, best would be dynamical, for linux?
I would not like to use a makefile if possible …
I took a look at SDL makefiles an config scripts, but thy don’T tell
me much about compiling a dynamically loaded/linked library for linux
like libSDL.