Re: Linking with different compilers

vidar@hokstad.name (Vidar Hokstad)
3 Sep 2004 12:38:56 -0400

          From comp.compilers

Related articles
Linking with different compilers bill.volz@chevrontexaco.com (2004-08-23)
Re: Linking with different compilers ppluzhnikov@charter.net (Paul Pluzhnikov) (2004-08-25)
Re: Linking with different compilers tee.teoh@sympatico.ca (Unknown) (2004-08-25)
Re: Linking with different compilers vidar@hokstad.name (2004-09-03)
| List of all articles for this month |
From: vidar@hokstad.name (Vidar Hokstad)
Newsgroups: comp.compilers
Date: 3 Sep 2004 12:38:56 -0400
Organization: http://groups.google.com
References: 04-08-123 04-08-137
Keywords: linker
Posted-Date: 03 Sep 2004 12:38:56 EDT

Paul Pluzhnikov <ppluzhnikov@charter.net> wrote in message news:04-08-137...


> No: shared libraries on most UNIX systems are considered a "final"
> product, and can't be re-linked any more than you can re-link an
> existing executable.


While what you say above is in general true, and all the caveats about
object layout etc. changing in the bit of your post I snipped is true
too, it is _possible_ to make an existing dynamically linked
executable static on Linux at least:


    http://statifier.sourceforge.net/


It's not a nice solution, and the webpage makes that quite clear, but
it can be useful in some situations.


Vidar


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.