(源码)基于C语言的小型C编译器Tiny C Compiler.zip

上传者: m0_62153576 | 上传时间: 2026-06-03 17:00:18 | 文件大小: 1.02MB | 文件类型: ZIP
# 基于C语言的小型C编译器Tiny C Compiler ## 项目简介 Tiny C Compiler(TCC)是一款超小型的ANSI C编译器,可让你在任何地方编译和执行C代码。它具备快速、功能不受限、安全等特性,朝着完全符合ISOC99标准的方向发展,并且支持C脚本,可直接编译和执行C源文件,无需链接或汇编。 ## 项目的主要特性和功能 1. 体积小可在任何环境编译和执行C代码,如救援磁盘。 2. 速度快生成优化的x86代码,无字节码开销,编译、汇编和链接速度比'gcc O0'快约7倍。 3. 功能不受限可直接使用任何C动态库,朝着完全符合ISOC99标准发展,还能自编译。 4. 安全包含可选的内存和边界检查器,边界检查代码可与标准代码自由混合。 5. 支持C脚本在C源文件首行添加'#!usrlocalbintcc run',即可像shell或perl脚本一样直接执行。 ## 安装使用步骤 ### 安装

文件下载

资源详情

[{"title":"( 443 个子文件 1.02MB ) (源码)基于C语言的小型C编译器Tiny C Compiler.zip","children":[{"title":"build-tcc.bat <span style='color:#111;'> 5.39KB </span>","children":null,"spread":false},{"title":"tccgen.c <span style='color:#111;'> 237.43KB </span>","children":null,"spread":false},{"title":"tccelf.c <span style='color:#111;'> 116.25KB </span>","children":null,"spread":false},{"title":"tccpp.c <span style='color:#111;'> 110.88KB </span>","children":null,"spread":false},{"title":"tcctest.c <span style='color:#111;'> 104.44KB </span>","children":null,"spread":false},{"title":"c67-gen.c <span style='color:#111;'> 68.21KB </span>","children":null,"spread":false},{"title":"x86_64-gen.c <span style='color:#111;'> 65.57KB </span>","children":null,"spread":false},{"title":"tccpe.c <span style='color:#111;'> 63.71KB </span>","children":null,"spread":false},{"title":"libtcc.c <span style='color:#111;'> 63.69KB </span>","children":null,"spread":false},{"title":"arm-gen.c <span style='color:#111;'> 55.89KB </span>","children":null,"spread":false},{"title":"arm64-gen.c <span style='color:#111;'> 55.44KB </span>","children":null,"spread":false},{"title":"bcheck.c <span style='color:#111;'> 54.38KB </span>","children":null,"spread":false},{"title":"i386-asm.c <span style='color:#111;'> 51.98KB </span>","children":null,"spread":false},{"title":"riscv64-gen.c <span style='color:#111;'> 40.40KB </span>","children":null,"spread":false},{"title":"tccasm.c <span style='color:#111;'> 36.78KB </span>","children":null,"spread":false},{"title":"i386-gen.c <span style='color:#111;'> 32.57KB </span>","children":null,"spread":false},{"title":"armeabi.c <span style='color:#111;'> 28.30KB </span>","children":null,"spread":false},{"title":"tccrun.c <span style='color:#111;'> 26.69KB </span>","children":null,"spread":false},{"title":"abitest.c <span style='color:#111;'> 24.19KB </span>","children":null,"spread":false},{"title":"tcccoff.c <span style='color:#111;'> 20.66KB </span>","children":null,"spread":false},{"title":"73_arm64.c <span style='color:#111;'> 18.27KB </span>","children":null,"spread":false},{"title":"46_grep.c <span style='color:#111;'> 17.76KB </span>","children":null,"spread":false},{"title":"il-gen.c <span style='color:#111;'> 17.60KB </span>","children":null,"spread":false},{"title":"tcctools.c <span style='color:#111;'> 16.99KB </span>","children":null,"spread":false},{"title":"lib-arm64.c <span style='color:#111;'> 16.41KB </span>","children":null,"spread":false},{"title":"arm-link.c <span style='color:#111;'> 15.84KB </span>","children":null,"spread":false},{"title":"libtcc1.c <span style='color:#111;'> 14.24KB </span>","children":null,"spread":false},{"title":"testfp.c <span style='color:#111;'> 14.22KB </span>","children":null,"spread":false},{"title":"tcc.c <span style='color:#111;'> 14.03KB </span>","children":null,"spread":false},{"title":"libtcc_test_mt.c <span style='color:#111;'> 13.03KB </span>","children":null,"spread":false},{"title":"riscv64-link.c <span style='color:#111;'> 13.02KB </span>","children":null,"spread":false},{"title":"90_struct-init.c <span style='color:#111;'> 11.33KB </span>","children":null,"spread":false},{"title":"x86_64-link.c <span style='color:#111;'> 10.98KB </span>","children":null,"spread":false},{"title":"112_backtrace.c <span style='color:#111;'> 10.30KB </span>","children":null,"spread":false},{"title":"arm64-link.c <span style='color:#111;'> 10.27KB </span>","children":null,"spread":false},{"title":"60_errors_and_warnings.c <span style='color:#111;'> 10.26KB </span>","children":null,"spread":false},{"title":"i386-link.c <span style='color:#111;'> 9.22KB </span>","children":null,"spread":false},{"title":"99_fastcall.c <span style='color:#111;'> 8.19KB </span>","children":null,"spread":false},{"title":"vla_test.c <span style='color:#111;'> 8.10KB </span>","children":null,"spread":false},{"title":"19.c <span style='color:#111;'> 7.79KB </span>","children":null,"spread":false},{"title":"32_led.c <span style='color:#111;'> 7.07KB </span>","children":null,"spread":false},{"title":"17.c <span style='color:#111;'> 7.04KB </span>","children":null,"spread":false},{"title":"104_inline.c <span style='color:#111;'> 6.89KB </span>","children":null,"spread":false},{"title":"95_bitfields.c <span style='color:#111;'> 6.84KB </span>","children":null,"spread":false},{"title":"10.c <span style='color:#111;'> 6.68KB </span>","children":null,"spread":false},{"title":"28_strings.c <span style='color:#111;'> 6.66KB </span>","children":null,"spread":false},{"title":"42_function_pointer.c <span style='color:#111;'> 6.64KB </span>","children":null,"spread":false},{"title":"boundtest.c <span style='color:#111;'> 6.58KB </span>","children":null,"spread":false},{"title":"75_array_in_struct_init.c <span style='color:#111;'> 6.50KB </span>","children":null,"spread":false},{"title":"15.c <span style='color:#111;'> 6.39KB </span>","children":null,"spread":false},{"title":"101_cleanup.c <span style='color:#111;'> 6.35KB </span>","children":null,"spread":false},{"title":"pp-counter.c <span style='color:#111;'> 6.27KB </span>","children":null,"spread":false},{"title":"51_static.c <span style='color:#111;'> 6.16KB </span>","children":null,"spread":false},{"title":"64_macro_nesting.c <span style='color:#111;'> 6.02KB </span>","children":null,"spread":false},{"title":"03.c <span style='color:#111;'> 5.60KB </span>","children":null,"spread":false},{"title":"89_nocode_wanted.c <span style='color:#111;'> 5.42KB </span>","children":null,"spread":false},{"title":"30_hanoi.c <span style='color:#111;'> 5.37KB </span>","children":null,"spread":false},{"title":"84_hex-float.c <span style='color:#111;'> 5.33KB </span>","children":null,"spread":false},{"title":"hello_win.c <span style='color:#111;'> 5.19KB </span>","children":null,"spread":false},{"title":"94_generic.c <span style='color:#111;'> 5.12KB </span>","children":null,"spread":false},{"title":"24_math_library.c <span style='color:#111;'> 5.07KB </span>","children":null,"spread":false},{"title":"87_dead_code.c <span style='color:#111;'> 4.80KB </span>","children":null,"spread":false},{"title":"c67-link.c <span style='color:#111;'> 4.78KB </span>","children":null,"spread":false},{"title":"80_flexarray.c <span style='color:#111;'> 4.41KB </span>","children":null,"spread":false},{"title":"crt1.c <span style='color:#111;'> 4.24KB </span>","children":null,"spread":false},{"title":"bt-dll.c <span style='color:#111;'> 4.12KB </span>","children":null,"spread":false},{"title":"libtcc_test.c <span style='color:#111;'> 4.11KB </span>","children":null,"spread":false},{"title":"82_attribs_position.c <span style='color:#111;'> 3.98KB </span>","children":null,"spread":false},{"title":"wincrt1.c <span style='color:#111;'> 3.95KB </span>","children":null,"spread":false},{"title":"conftest.c <span style='color:#111;'> 3.92KB </span>","children":null,"spread":false},{"title":"93_integer_promotion.c <span style='color:#111;'> 3.84KB </span>","children":null,"spread":false},{"title":"arm-asm.c <span style='color:#111;'> 3.79KB </span>","children":null,"spread":false},{"title":"ex2.c <span style='color:#111;'> 3.78KB </span>","children":null,"spread":false},{"title":"01.c <span style='color:#111;'> 3.77KB </span>","children":null,"spread":false},{"title":"70_floating_point_literals.c <span style='color:#111;'> 3.76KB </span>","children":null,"spread":false},{"title":"11_precedence.c <span style='color:#111;'> 3.70KB </span>","children":null,"spread":false},{"title":"96_nodata_wanted.c <span style='color:#111;'> 3.65KB </span>","children":null,"spread":false},{"title":"81_types.c <span style='color:#111;'> 3.64KB </span>","children":null,"spread":false},{"title":"17_enum.c <span style='color:#111;'> 3.49KB </span>","children":null,"spread":false},{"title":"02.c <span style='color:#111;'> 3.41KB </span>","children":null,"spread":false},{"title":"25_quicksort.c <span style='color:#111;'> 3.36KB </span>","children":null,"spread":false},{"title":"33_ternary_op.c <span style='color:#111;'> 3.35KB </span>","children":null,"spread":false},{"title":"79_vla_continue.c <span style='color:#111;'> 3.34KB </span>","children":null,"spread":false},{"title":"40_stdio.c <span style='color:#111;'> 3.26KB </span>","children":null,"spread":false},{"title":"88_codeopt.c <span style='color:#111;'> 3.26KB </span>","children":null,"spread":false},{"title":"78_vla_label.c <span style='color:#111;'> 3.23KB </span>","children":null,"spread":false},{"title":"49_bracket_evaluation.c <span style='color:#111;'> 3.19KB </span>","children":null,"spread":false},{"title":"asm-c-connect-2.c <span style='color:#111;'> 3.18KB </span>","children":null,"spread":false},{"title":"va_list.c <span style='color:#111;'> 3.18KB </span>","children":null,"spread":false},{"title":"20.c <span style='color:#111;'> 3.16KB </span>","children":null,"spread":false},{"title":"11.c <span style='color:#111;'> 3.16KB </span>","children":null,"spread":false},{"title":"47_switch_return.c <span style='color:#111;'> 3.15KB </span>","children":null,"spread":false},{"title":"92_enum_bitfield.c <span style='color:#111;'> 3.12KB </span>","children":null,"spread":false},{"title":"104+_inline.c <span style='color:#111;'> 3.07KB </span>","children":null,"spread":false},{"title":"102_alignas.c <span style='color:#111;'> 2.95KB </span>","children":null,"spread":false},{"title":"41_hashif.c <span style='color:#111;'> 2.85KB </span>","children":null,"spread":false},{"title":"asm-c-connect-1.c <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false},{"title":"100_c99array-decls.c <span style='color:#111;'> 2.61KB </span>","children":null,"spread":false},{"title":"39_typedef.c <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"113_btdll.c <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false},{"title":"......文件过多,未全部展示","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明