- 所有 tcc 文件/内容/宏改名为 pcc (tcc.c->pcc.c, tccelf.c->pccelf.c, libtcc.c->libpcc.c 等) - 支持架构: i386, x86_64, ARM, ARM64, RISC-V, C67 - 支持格式: PE, ELF, Mach-O, COFF - 完整预处理、代码生成、链接器、调试信息 - 构建成功: pcc.exe (x86_64 Windows) - 功能测试通过: 递归/结构体/浮点/switch/循环 - 自编译测试通过: pcc 可以编译自身
27 行
734 B
Plaintext
27 行
734 B
Plaintext
[test_static_data_error]
|
|
96_nodata_wanted.c:7: error: initializer element is not computable at load time
|
|
|
|
[test_static_nodata_error]
|
|
96_nodata_wanted.c:14: error: initializer element is not computable at load time
|
|
|
|
[test_global_data_error]
|
|
96_nodata_wanted.c:20: error: initializer element is not computable at load time
|
|
|
|
[test_local_data_noerror]
|
|
96_nodata_wanted.c:25: warning: assignment makes integer from pointer without a cast
|
|
96_nodata_wanted.c:25: warning: cast between pointer and integer of different size
|
|
|
|
[test_data_suppression_off]
|
|
data:
|
|
8 - 8.0 - 8.0 - main - static string
|
|
333 44 555555 6 7
|
|
size of data/text:
|
|
non-zero/non-zero
|
|
|
|
[test_data_suppression_on]
|
|
size of data/text:
|
|
zero/zero
|
|
|
|
[test_static_data]
|
|
a = 1
|