help with shared objects

new topic     » topic index » view thread      » older message » newer message

How do you compile a C program as a shared object with gcc?  Could someone
give me a command line "template"?
Also, could someone send me the source of a simple so. Like one with only
one exported routine that prints "hello world" or calculates the sum of two
integers or something like that.

Thanks in advance.

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu