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]
Other format: [Raw text]

Re: libiberty should be a shared library when cc1 has plugin enabled.


Basile Starynkevitch wrote:
> Hello All,
> 
> Perhaps libiberty should be a shared library, not a static one, linked from
> cc1, when GCC has plugin enabled.

> We might also artificially add a reference to each libiberty function from
> cc1. 

  Or link it into cc1 et al. using "--whole-archive".

> If we did link dynamically libiberty.so:

  We would also have to install it, and start worrying about library API
versioning and backward compatibility, or at any rate I think that's the main
reason why this has not been done in the pasy (cf. libbfd).

    cheers,
      DaveK


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