Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Removing the command prompt
#2
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:

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
Reply


Messages In This Thread
Removing the command prompt - by System64 - 12-18-2020, 01:11 PM
RE: Removing the command prompt - by megamarc - 12-19-2020, 02:33 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)