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:
> Dave Korn wrote:
>>
>>> We might also artificially add a reference to each libiberty function
>>> from
>>> cc1.     
>>
>>   Or link it into cc1 et al. using "--whole-archive".
>>
>>   
> Sorry, I am not aware of this option. And are we sure it works on all
> the systems GCC is supposed to run on?

  Ach.  It requires GNU ld, of course.  We could just link the objects from
the libiberty/ dir into cc1 (etc.) instead of the lib .a archive.

    cheers,
      DaveK


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