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: Bob Friesenhahn
Subject: Re: [FYI] Cleanup of linux pass_all
Date: Wed, 15 Sep 2004 13:22:19 -0500 (CDT)

On Wed, 15 Sep 2004, Alexandre Oliva wrote:

if there was only a good way to test for PIC ....

The only reasonable way I can think of is to get the linker to try and
link stuff.  If it fails, we print a warning message and proceed to
building a static-only version of the library.  And let's just hope
modern linkers won't silently create corrupt binaries.

I expect that assumption takes a lot of finger-crossing. Some problems will be found at run-time by ld.so and some will be found via gdb in the resulting core dump. :-)

Bob
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen




reply via email to

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