Compiling

Cheat-sheet for compiling on windows

Path examples for environment variables

C:\Windows\Microsoft.NET\Framework\v4.0.30319\
C:\Program Files\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin\
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\

Command line

csc.exe -o program.exe csharp.cs
x86_64-w64-mingw32-g++.exe -o program.exe cplusplus64.cpp
i686-w64-mingw32-g++.exe -o program.exe cplusplus32.cpp
x86_64-w64-mingw32-gcc.exe -o program.exe cfile64.c
i686-w64-mingw32-gcc.exe -o program.exe cfile32.c
msbuild.exe project.csproj

Dependencies

Last updated