Lines Matching full:gcc

2 GCC plugin infrastructure
9 GCC plugins are loadable modules that provide extra features to the
14 The GCC plugin infrastructure of the kernel supports building out-of-tree
18 Currently the GCC plugin infrastructure supports only some architectures.
20 GCC plugins.
26 .. [1] https://gcc.gnu.org/onlinedocs/gccint/Plugins.html
27 .. [2] https://gcc.gnu.org/onlinedocs/gccint/Plugin-API.html#Plugin-API
28 .. [3] https://gcc.gnu.org/onlinedocs/gccint/GIMPLE.html
29 .. [4] https://gcc.gnu.org/onlinedocs/gccint/IPA.html
30 .. [5] https://gcc.gnu.org/onlinedocs/gccint/RTL.html
38 **$(src)/scripts/gcc-plugins**
40 This is the directory of the GCC plugins.
42 **$(src)/scripts/gcc-plugins/gcc-common.h**
44 This is a compatibility header for GCC plugins.
45 It should be always included instead of individual gcc headers.
47 **$(src)/scripts/gcc-plugins/gcc-generate-gimple-pass.h,
48 $(src)/scripts/gcc-plugins/gcc-generate-ipa-pass.h,
49 $(src)/scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h,
50 $(src)/scripts/gcc-plugins/gcc-generate-rtl-pass.h**
60 You must install the gcc plugin headers for your gcc version,
61 e.g., on Ubuntu for gcc-10::
63 apt-get install gcc-10-plugin-dev
67 dnf install gcc-plugin-devel
69 Enable the GCC plugin infrastructure and some plugin(s) you want to use
82 the cyclomatic complexity GCC plugin.
85 4. How to add a new GCC plugin
88 The GCC plugins are in scripts/gcc-plugins/. You need to put plugin source files
89 right under scripts/gcc-plugins/. Creating subdirectories is not supported.
90 It must be added to scripts/gcc-plugins/Makefile, scripts/Makefile.gcc-plugins
92 See the cyc_complexity_plugin.c (CONFIG_GCC_PLUGIN_CYC_COMPLEXITY) GCC plugin.