12-19-2020, 02:33 AM
Hi,
It depends on C linker being used. In gcc and clones yo must use -Wl,-subsystem=windows flags when building. In Microsoft C is different.
For example with gcc or tcc yo must build with:
Check this forum thread:
https://stackoverflow.com/questions/2032...exe-in-tcc
It depends on C linker being used. In gcc and clones yo must use -Wl,-subsystem=windows flags when building. In Microsoft C is different.
For example with gcc or tcc yo must build with:
Code:
tcc -I"../include" ../lib/x64/Tilengine.dll -Wl,-subsystem=windows Tutorial.c -o tutorial.exe
Check this forum thread:
https://stackoverflow.com/questions/2032...exe-in-tcc