This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Defining a common plugin machinery
- From: Basile STARYNKEVITCH <basile at starynkevitch dot net>
- To: Brendon Costa <bcosta at avdat dot com dot au>
- Cc: Hugh Leather <hughleat at hotmail dot com>, gcc at gcc dot gnu dot org, 'Sean Callanan' <spyffe at cs dot sunysb dot edu>, Cupertino Miranda <cupertino dot miranda at inria dot fr>, clattner at apple dot com, iant at google dot com, 'Taras Glek' <taras dot judge at shaw dot ca>, 'Diego Novillo' <dnovillo at google dot com>, Mike O'Boyle <mob at inf dot ed dot ac dot uk>, Grigori Fursin <grigori dot fursin at inria dot fr>
- Date: Thu, 02 Oct 2008 06:55:51 +0200
- Subject: Re: Defining a common plugin machinery
- References: <48CF93F7.8010901@google.com> <48CF9C94.9010809@starynkevitch.net> <48D0286D.8020302@mozilla.com> <48e33659.0c58560a.6454.7b17@mx.google.com> <48E37481.7040803@hotmail.com> <BLU142-DAV64A066DB0D1D85765DD4BC1420@phx.gbl> <BLU142-DAV87E6265C2FA71995506F8C1420@phx.gbl> <48E39F49.7000109@starynkevitch.net> <BLU142-DAV8B305E041FCFFDCCDAA8FC1420@phx.gbl> <48E4180C.90103@avdat.com.au>
Hello All,
Brendon Costa wrote:
Some questions:
* How does the framework interact with the compile command line arguments?
* Does this work on platforms that dont support -rdynamic or can it be
modified to do so in the future?
[I'm skipping the rest of an interesting post]
I thought that for the first plugin machinery we don't care about
platforms without -rdynamic (or those without dlopen or tl_dlopen).
I believe we should first focus (when the runtime license will permit
that) on making whatever plugin machinery available and merged into the
trunk (when it comes back to stage one). This is not an easy task.
In practice, I think that we should first try to get some code into the
trunk which make some plugin work on some common easy host system
(Linux), and only after try to generalize the work to harder hosts.
At last, I believe that the plugin system will at first be something
which can be disabled at configure time, and will be disabled by default.
My main concern is plugins & passes.
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} ***