TCC_CYGWIN-3.6.10-1 and TCC_CYGWIN-3.7.0-0.602 is built as a native Windows compiler, but it generates code for cygwin1.dll. The goal was to combine a small, fast compiler with a cygwin POSIX layer, thereby giving it superpowers for those who can appreciate them. When combined with the https://flatassembler.net/ compiler, this offers very extensive capabilities. That's all.

The compilers were built from source files:

x86_64-win32-tcc - original native bootstrapped compiler, compiled version for use tcc_cygwin-3.6.10-1 - native Windows compiler generating code for cygwin1.dll, stable version, latest release, compiled version for use tcc_cygwin-3.7.0-0.602 - native Windows compiler generating code for cygwin1.dll, development version, latest release, compiled version for use

tcc_cygwin-3.6.10-1, tcc_cygwin-3.7.0-0.602 ~ 1.5 MB x86_64-win32-tcc ~ 2 MB

The build_tccygwin.bat script builds compiler tcc_cygwin-3.6.10-1 and tcc_cygwin-3.7.0-0.602. The build_tcc_bootstrapping.bat script calls the win32/build-tcc.bat script and builds the x86_64-win32-tcc compiler.

The compiler was built based on the source version below:

tinycc-0fb5430.tar.gz version mob tree bcf095b31f800c5c45787ecffa2e06038408db58 https://repo.or.cz/tinycc.git/snapshot/0fb54300b56512754221d80adda85ddb9815bceb.tar.gz sha512: 18a3c44d77082f2734a9ec3796c71ce8e33a8454c8260e76cfd13c6b57fe5e31d8c1f64cf1e8f64a5bb617002536d8a3548b530ee9860d161a837106f8252915

The application will work as long as the .exe file and the cygwin1.dll library are placed directly next to each other. However, it is worth noting that this solution provides a compatibility layer for the system environment. For this reason, it is considered good practice to create an appropriate directory structure compliant with the FHS 3.0 standard, place both files in the /bin directory, and run the application from that location.

This is because programs compiled using the Cygwin library are not completely standalone Windows applications. They require an appropriate Cygwin environment and must meet certain requirements regarding the filesystem structure and the availability of required libraries.

The cygwin1.dll library can be downloaded from:

example:

https://mirrors.kernel.org/sourceware/cygwin/x86_64/release/cygwin/cygwin-3.6.10-1-x86_64.tar.xz https://mirrors.kernel.org/sourceware/cygwin/x86_64/release/cygwin/cygwin-3.7.0-0.602.g8eedf9515282-x86_64.tar.xz

https://mirror.checkdomain.de/cygwin/x86_64/release/cygwin/cygwin-3.6.10-1-x86_64.tar.xz https://mirror.checkdomain.de/cygwin/x86_64/release/cygwin/cygwin-3.7.0-0.602.g8eedf9515282-x86_64.tar.xz

list of mirrors:

The library is needed only when the application is running. Only cygwin1.dll should be unpacked from /usr/bin.