1753783 Members
6994 Online
108799 Solutions
New Discussion юеВ

Re: shared objects

 
lara
Advisor

shared objects

Hi,

Can anyone let me know if there is a way to find if an object( file .o file ) is compiled with -pic or not. In general I would like to know if archived library ( .a file ) contains objects compiled with -pic option so that I can include those libraries to build a .so file.

Regards,
Lara
2 REPLIES 2
Antoniov.
Honored Contributor

Re: shared objects

Hi Lara,
you post -pic a .a files so I think you compile on unix; here it's VMS forum.
However on VMS you can compile source file (with cc/c++/cobol/etc.) creating a .obj file; after you can link using LINK command to create .EXE (binary executable file). You can link any Library or EXE (known as DLL) written in any language.
If you need more information using VMS post again.
Bye
Antoniov
Antonio Maria Vigliotti
Martin P.J. Zinser
Honored Contributor

Re: shared objects

Hello,

an just in case you do look for information on
hp-ux, their language forum is over at

http://forums.itrc.hp.com/cm/CategoryHome/1,,150,00.html

Greetings, Martin