This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: How to create a .so from .c



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]