This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

A shared version of libgcc



I've decided that we have no choice but to bite the bullet and do this
in the new release.  Users will be no worse off: they can always
choose to link statically with libgcc.a, and accept the consequences
(i.e., that simultaneously linking with shared libraries probably
won't work right.)

However, it will then be possible to use GCC to distribute shared
libraries that work correctly, even when linked against shared
libraries built with new versions of GCC.  That's very important.

I've checked in a new document at:

   http://gcc.gnu.org/gcc-3.0/libgcc.html

with more details.

I appreciate everyone's input on this issue.  

I don't consider my decision final -- if there are serious new issues
raised, we should certainly consider them.  

One good way to see how this works is to actually implement it.

Would someone (Richard?  Alexandre?) be willing to volunteer to tackle
the work required to make this happen:

  - Makefile support for building libgcc with -fPIC, etc.
  - Appropriate changes to spec files
  - Documentation changes?
  - NEWS file entries
  - Other issues?

If you are willing to work on this project, please post a message
indicating so.

Thanks in advance!

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]