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.


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?
If we did link dynamically libiberty.so:

We would also have to install it, ..

Agreed.


Anyway, we really should have all of libiberty inside cc1. What is the best way to achieve that so that it works on all the systems GCC wants?

Regards.

--
Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***


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