Releases: zelang-dev/tinycc
Releases · zelang-dev/tinycc
0.9.29
Version 0.9.29
- added rpmalloc to standard
libtcc1.a,libtcc.so/lib/dylib, and cross chains,
this replaces all stdlib.hmalloctype calls,- just
#include <rpmalloc.h>
- just
- added cthread to standard
libtcc1.a,libtcc.so/lib/dylib, and cross chains,
this allows all thread related withC11like interface calls to go throughpthreadon Windows also,- just
#include <cthread.h>forC11emulation, it includes#include <pthread.h>for Windows.
- just
- the
cthreadlibrary addsthrd_localmacro to emulate tls thread local storage if needed, using normal usage behaviors as functions,
the macro can be used the same even ifthread_localis really available. - added
dlopenapi for Windows, the Dynamically Load behavior works the same as Linux. - moved all source files into
srcsubdirectory. - converted build system to use
cmakeonly with a simple cross toolchaintcc.cmakefile. - packaged
cmaketo create downloadable installer binaries for all supported platforms by default,
this uses the platforms default package manager for setup.
Installer includes
armv7-tcc, i386-win32-tcc, x86_64-tcc, x86_64-win32-tcc, arm64-tcc, riscv64-tcc, x86_64-osx-tcc, i386-tcc, arm64-osx-tcc, armv7-wince-tcc, arm64-osx-libtcc1.a, armv7-wince-libtcc1.a, x86_64-win32-libtcc1.a, arm64-libtcc1.a, i386-libtcc1.a, x86_64-libtcc1.a, riscv64-libtcc1.a, x86_64-osx-libtcc1.a, armv7-libtcc1.a, i386-win32-libtcc1.a, all cross chain binaries.tcc_prompt, launch shell with path and custom environment for compiler.cmake_tcc, launch normal cmake command with some pre configuration, can pass two additional arguments,
an shortcut to:- On Windows
cmake .. -G "NMake Makefiles" -DCMAKE_TOOLCHAIN_FILE="%CMAKE_TOOLCHAIN_FILE%" -DCMAKE_BUILD_TYPE=%1 -DSYSTEM_NAME=%2 -DHOST_ARCH=%3 %4 %5 - Otherwise
cmake .. -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=$CMAKE_TOOLCHAIN_FILE -DCMAKE_BUILD_TYPE=$1 -DSYSTEM_NAME=$2 -DHOST_ARCH=$3 $4 $5 - Therefore
cmake_tcc Debug Native x86_64, will setup and launch regulartccexecutable, as cmake's compiler to use.
- On Windows
Full Changelog: v0.9.28...0.9.29
v0.9.28
User interface:
- new tcc -ar x and t flags (herman ten brugge)
Platforms:
- new RISC-V (riscv64) target
- native macOS support for x86_64/arm64 (Herman ten Brugge)
Features:
- Improved support for C11
- C11 _Static_assert support (matthias)
Fixes:
- fix preprocessor line (#line) directive (Herman ten Brugge)
Many more! see also git shortlog release_0_9_27...HEAD