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: improved version for plugin support.


Ian Lance Taylor wrote:
Basile STARYNKEVITCH <basile@starynkevitch.net> writes:

In plugin mode, gengtype should be invoked as
   gengtype -P gt-outputplugin.h inputplugin.h \
                inputplugin1.c inputplugin2.c

I think it might be slightly simpler if when gengtype were in plugin mode it simply printed a complete header file on standard output.


Why do you think that? I find your proposition quite stange. I would believe that gengtype might generate to stdout if inovked as
gengtype -P - inputplugin.h inputplugin1.c inputplugin2.c
But I find confusing the fact that the generated code goes into files in normal mode and to stdout in plugin mode.


In any case I guess this patch needs some updating now.

Yes



-- 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]