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: Defining a common plugin machinery


Brendon Costa <bcosta@avdat.com.au> writes:

> I have control over my project: foo, however i do not have control over
> project blah. The problem is with badly defined build system that do NOT
> allow a user to pass flags they want to to the compiler. This will
> likely result in having to edit the build system code for project blah
> just to build with the necessary compiler flags to include use the plugin.

Write a one-line shell script to use as your compiler (that's what I
would do), or define an environment variable which tells gcc which
plugins to load (e.g., GCC_PLUGINS=/a/file:/another/file).

Ian


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