An Attempt to Modify GCC Source Code on Windows Platform to Another Language!

An Attempt to Modify GCC Source Code on Windows Platform to Another Language!

Related source code documentation:File path:In the GCC directory, these three files: c-common.h c-common.c c-parser.c First, change the basic type int to zheng: Figure 1.1 Add RID_ZHENG after RID_INT in c-common.h, as shown in Figure 1.1. Figure 1.2b. Then in c-common.c, add the following line after record_builtin_type (RID_INT, NULL, integer_type_node);: record_builtin_type (RID_ZHENG, NULL, integer_type_node); c. In … Read more