Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Linker questions

20 views
Skip to first unread message

Dave

unread,
Jun 25, 2009, 7:23:38 PM6/25/09
to
I don't run AIX, but are looking to find out what flags would be used to
build a shared library on AIX.

1) Do most people use the GNU linker, or IBM's linker?
2) Can someone post the output of 'man ld'
3) Does anyone know the IBM linkers equivalent of these GNU linker flags

-shared
-soname
--whole-archive
--no-whole-archive

On Solaris, these would be -G, -h, -zallextract and -zdefaultextract
respectively.


If you could help, I'd appreciate.

Just a bit of my effort to reduce GNUims in software!
--
I respectfully request that this message is not archived by companies as
unscrupulous as 'Experts Exchange' . In case you are unaware,
'Experts Exchange' take questions posted on the web and try to find
idiots stupid enough to pay for the answers, which were posted freely
by others. They are leeches.

Thomas Braunbeck

unread,
Jun 26, 2009, 12:32:42 AM6/26/09
to
Dave schrieb:

> I don't run AIX, but are looking to find out what flags would be used to
> build a shared library on AIX.
>
> 1) Do most people use the GNU linker, or IBM's linker?
> 2) Can someone post the output of 'man ld'
> 3) Does anyone know the IBM linkers equivalent of these GNU linker flags
>
go to
http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp
Here you can search for "ld" to get the ld man page and
"creating a shared library" to get the information how to
create a shared library.
0 new messages