Lines Matching refs:gcc
5 :Original: Documentation/kbuild/gcc-plugins.rst
31 .. [1] https://gcc.gnu.org/onlinedocs/gccint/Plugins.html
32 .. [2] https://gcc.gnu.org/onlinedocs/gccint/Plugin-API.html#Plugin-API
33 .. [3] https://gcc.gnu.org/onlinedocs/gccint/GIMPLE.html
34 .. [4] https://gcc.gnu.org/onlinedocs/gccint/IPA.html
35 .. [5] https://gcc.gnu.org/onlinedocs/gccint/RTL.html
62 **$(src)/scripts/gcc-plugins**
66 **$(src)/scripts/gcc-plugins/gcc-common.h**
71 **$(src)/scripts/gcc-plugins/gcc-generate-gimple-pass.h,
72 $(src)/scripts/gcc-plugins/gcc-generate-ipa-pass.h,
73 $(src)/scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h,
74 $(src)/scripts/gcc-plugins/gcc-generate-rtl-pass.h**
83 你必须为你的 GCC 版本安装 GCC 插件头文件,以 Ubuntu 上的 gcc-10 为例::
85 apt-get install gcc-10-plugin-dev
89 dnf install gcc-plugin-devel libmpc-devel
101 运行 gcc(本地或交叉编译器),确保能够检测到插件头文件::
103 gcc -print-file-name=plugin
104 CROSS_COMPILE=arm-linux-gnu- ${CROSS_COMPILE}gcc -print-file-name=plugin
112 /usr/lib/gcc/x86_64-redhat-linux/12/plugin
124 GCC 插件位于 scripts/gcc-plugins/。你需要将插件源文件放在 scripts/gcc-plugins/ 目录下。
125 子目录创建并不支持,你必须添加在 scripts/gcc-plugins/Makefile、scripts/Makefile.gcc-plugins