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


On Jun 20, 2001, Narasiman Balasubramanian <gccbala@yahoo.com> wrote:

> How to create a .so file from .c , I am using gcc 2.95.3 on IBM aix
> 4.3 machine.

AIX 4.3 in general uses a different shared-library model than that of
other Unixes, but it should be possible to do it the same way as on
other Unixes too, i.e., compile with -fPIC and link with gcc -shared.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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