{"id":21935977,"url":"https://github.com/lazy-eggplant/tcc","last_synced_at":"2025-03-22T14:16:14.557Z","repository":{"id":263252957,"uuid":"866810855","full_name":"lazy-eggplant/tcc","owner":"lazy-eggplant","description":"Fork of tinycc to support some extra bits I need in `vs`","archived":false,"fork":false,"pushed_at":"2024-12-28T06:28:36.000Z","size":5837,"stargazers_count":0,"open_issues_count":6,"forks_count":1,"subscribers_count":2,"default_branch":"mob","last_synced_at":"2025-01-27T13:24:40.534Z","etag":null,"topics":["c99","compiler","tcc","tinycc"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"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/lazy-eggplant.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}},"created_at":"2024-10-02T23:07:27.000Z","updated_at":"2024-12-28T06:28:40.000Z","dependencies_parsed_at":"2024-11-17T10:32:46.327Z","dependency_job_id":"5ed5868c-c375-47b0-b364-e3c09218282f","html_url":"https://github.com/lazy-eggplant/tcc","commit_stats":null,"previous_names":["karurochori/tcc-vs","lazy-eggplant/tcc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lazy-eggplant%2Ftcc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lazy-eggplant%2Ftcc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lazy-eggplant%2Ftcc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lazy-eggplant%2Ftcc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lazy-eggplant","download_url":"https://codeload.github.com/lazy-eggplant/tcc/tar.gz/refs/heads/mob","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244966524,"owners_count":20539797,"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":["c99","compiler","tcc","tinycc"],"created_at":"2024-11-29T01:12:41.395Z","updated_at":"2025-03-22T14:16:14.531Z","avatar_url":"https://github.com/lazy-eggplant.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"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\nLinux/macOS/FreeBSD/NetBSD/OpenBSD hosts.\n\n   ./configure\n   make\n   make test\n   make install\n\nAlternatively, 'meson' is also supported:\n\n   meson setup builddir\n   meson compile -C builddir\n   meson install -C builddir\n\nNotes: For FreeBSD, NetBSD and OpenBSD, gmake should be used instead of make.\nFor 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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flazy-eggplant%2Ftcc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flazy-eggplant%2Ftcc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flazy-eggplant%2Ftcc/lists"}