libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [FYI] Cleanup of linux pass_all


From: Peter O'Gorman
Subject: Re: [FYI] Cleanup of linux pass_all
Date: Tue, 14 Sep 2004 00:03:17 +0900
User-agent: Mozilla Thunderbird 0.7.3 (Macintosh/20040803)

Gary V. Vaughan wrote:

Isn't there some objdump incantation that will differentiate between PIC
and non-PIC objects?

If so, then we should add a new deplibs_check_method=objdump, and use that
for as many hosts as we are able.

Even if this does not work, we could have a shell function to decide if a lib is pic or not, that could do whatever tests are necessary to figure out as best as possible if a library contains only position independent code. It may mean invoking the compiler/linker to do the tests, possibly even running the output of such test code, it would slow libtool down on the arches where such stringent tests are necessary, but it must be possible to have the cake and eat it in this case.

Peter
--
Peter O'Gorman - http://www.pogma.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]