This is the mail archive of the gcc-patches@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: gengtype & plugins [#define emitted in wrong order]


Joseph S. Myers wrote:
On Mon, 5 Oct 2009, Basile STARYNKEVITCH wrote:

BTW, I tend to believe that gengtype might be installed somewhere (perhaps as
gcc-gengtype), and we could also want to put the version string of GCC inside
gengtype binary (or perhaps is it already there?). We might also want to have
gengtype accepting more a GNU way for program arguments (probably at least
have gengtype accepting --version & --help).

gengtype is presently built only for the build system. If you want to install it you'll need to build it for the host and install that (and, yes, support --help and --version with the usual adaptation to the --with-bugurl and --with-pkgversion options).


I have absolutely no idea how to implement all that -and today it is not my topmost priority! What would be the code model to follow?

More generally, future linux distributions should probably have a gcc-dev package for developping GCC plugins & extensions, much like they have a firefox-dev or a gedit-dev for developping plugins for firefox or gedit. Perhaps the GCC community should help on such gcc-dev package (or maybe not?). We might want to facilitate GCC plugins development.

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]