How to create a .so from .c

Ryan T. Sammartino ryants@home.com
Wed Jun 20 11:05:00 GMT 2001


Use -fPIC while compiling, and -shared while linking.




* Narasiman Balasubramanian <gccbala@yahoo.com> [20/06/2001 10:56]:
> Hi,
>    How to create a .so file from .c , I am using gcc
> 2.95.3 on IBM aix 4.3 machine.
> 
> 
> -bala.
> 
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/

-- 
Ryan T. Sammartino
http://members.home.net/ryants/
... The prejudices people feel about each other disappear when then get
to know each other.
		-- Kirk, "Elaan of Troyius", stardate 4372.5



More information about the Gcc-help mailing list