wgtcc:一个小的C11编译器

时间:2024-06-13 09:43:30
【文件属性】:

文件名称:wgtcc:一个小的C11编译器

文件大小:1.15MB

文件格式:ZIP

更新时间:2024-06-13 09:43:30

assembly preprocessor cpp11 compilers c11

wgtcc C ++ 11中的一个小型C11编译器。 环境 x86-64 linux 4.4.0 clang 3.8.0(或任何支持C ++ 11的版本) 建造 cmake . -Bbuild cd build && make && make test 安装 make install 然后,您可以使用以下示例: wgtcc example/heart.c wgtcc example/chinese.c 没有安装 试试这个: ./wgtcc -no-pie -I../include ../example/heart.c 注意 由于wgtcc不支持PIC / PIE,因此,如果您使用的是gcc> = 6.2.0,请明确指定-no-pie : wgtcc -no-pie example/heart.c wgtcc -no-pie example/chinese.c 目标 wgtcc


网友评论