{"id":13667215,"url":"https://github.com/TinyCC/tinycc","last_synced_at":"2025-04-26T15:32:22.044Z","repository":{"id":37547756,"uuid":"55339682","full_name":"TinyCC/tinycc","owner":"TinyCC","description":"Unofficial mirror of mob development branch","archived":false,"fork":false,"pushed_at":"2025-04-19T01:19:58.000Z","size":5313,"stargazers_count":2263,"open_issues_count":15,"forks_count":411,"subscribers_count":75,"default_branch":"mob","last_synced_at":"2025-04-19T10:38:29.784Z","etag":null,"topics":["c","compiler","jit","tcc","tinycc"],"latest_commit_sha":null,"homepage":"http://repo.or.cz/w/tinycc.git","language":"C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TinyCC.png","metadata":{"files":{"readme":"README","changelog":"Changelog","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-04-03T09:47:34.000Z","updated_at":"2025-04-19T01:20:02.000Z","dependencies_parsed_at":"2023-10-26T04:23:13.368Z","dependency_job_id":"b93b52a3-16b2-4fce-b384-f57ddddaee35","html_url":"https://github.com/TinyCC/tinycc","commit_stats":{"total_commits":3528,"total_committers":196,"mean_commits":18.0,"dds":0.8506235827664399,"last_synced_commit":"999ec460a617998a1ccfbf544c6f982e79fa0a1f"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TinyCC%2Ftinycc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TinyCC%2Ftinycc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TinyCC%2Ftinycc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TinyCC%2Ftinycc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TinyCC","download_url":"https://codeload.github.com/TinyCC/tinycc/tar.gz/refs/heads/mob","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251008785,"owners_count":21522177,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","compiler","jit","tcc","tinycc"],"created_at":"2024-08-02T07:00:33.488Z","updated_at":"2025-04-26T15:32:20.813Z","avatar_url":"https://github.com/TinyCC.png","language":"C","readme":"Tiny C Compiler - C Scripting Everywhere - The Smallest ANSI C compiler\n-----------------------------------------------------------------------\n\nFeatures:\n--------\n\n- SMALL! You can compile and execute C code everywhere, for example on\n  rescue disks.\n\n- FAST! tcc generates optimized x86 code. No byte code\n  overhead. Compile, assemble and link about 7 times faster than 'gcc\n  -O0'.\n\n- UNLIMITED! Any C dynamic library can be used directly. TCC is\n  heading toward full ISOC99 compliance. TCC can of course compile\n  itself.\n\n- SAFE! tcc includes an optional memory and bound checker. Bound\n  checked code can be mixed freely with standard code.\n\n- Compile and execute C source directly. No linking or assembly\n  necessary. Full C preprocessor included.\n\n- C script supported : just add '#!/usr/local/bin/tcc -run' at the first\n  line of your C source, and execute it directly from the command\n  line.\n\nDocumentation:\n-------------\n\n1) Installation on a i386/x86_64/arm/aarch64/riscv64\n   Linux/macOS/FreeBSD/NetBSD/OpenBSD hosts.\n\n   ./configure\n   make\n   make test\n   make install\n\n   Notes: For FreeBSD, NetBSD and OpenBSD, gmake should be used instead of make.\n   For Windows read tcc-win32.txt.\n\nmakeinfo must be installed to compile the doc.  By default, tcc is\ninstalled in /usr/local/bin.  ./configure --help  shows configuration\noptions.\n\n\n2) Introduction\n\nWe assume here that you know ANSI C. Look at the example ex1.c to know\nwhat the programs look like.\n\nThe include file \u003ctcclib.h\u003e can be used if you want a small basic libc\ninclude support (especially useful for floppy disks). Of course, you\ncan also use standard headers, although they are slower to compile.\n\nYou can begin your C script with '#!/usr/local/bin/tcc -run' on the first\nline and set its execute bits (chmod a+x your_script). Then, you can\nlaunch the C code as a shell or perl script :-) The command line\narguments are put in 'argc' and 'argv' of the main functions, as in\nANSI C.\n\n3) Examples\n\nex1.c: simplest example (hello world). Can also be launched directly\nas a script: './ex1.c'.\n\nex2.c: more complicated example: find a number with the four\noperations given a list of numbers (benchmark).\n\nex3.c: compute fibonacci numbers (benchmark).\n\nex4.c: more complicated: X11 program. Very complicated test in fact\nbecause standard headers are being used ! As for ex1.c, can also be launched\ndirectly as a script: './ex4.c'.\n\nex5.c: 'hello world' with standard glibc headers.\n\ntcc.c: TCC can of course compile itself. Used to check the code\ngenerator.\n\ntcctest.c: auto test for TCC which tests many subtle possible bugs. Used\nwhen doing 'make test'.\n\n4) Full Documentation\n\nPlease read tcc-doc.html to have all the features of TCC.\n\nAdditional information is available for the Windows port in tcc-win32.txt.\n\nLicense:\n-------\n\nTCC is distributed under the GNU Lesser General Public License (see\nCOPYING file).\n\nFabrice Bellard.\n","funding_links":[],"categories":["C","Compilers"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTinyCC%2Ftinycc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTinyCC%2Ftinycc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTinyCC%2Ftinycc/lists"}