Re: [Tinycc-devel] [BUG] 0.9.28.pre - Cannot link due to : undefined symbol 'main'

2021-11-22 Thread grischka
david.k...@libertysurf.fr wrote: 'GLFrontier-win32\src\lib\SDLmain.lib' contains an entry point to 'main' Yet is not recognized as a library. 'GLFrontier-win32\src\lib\libSDLmain.a' contains an entry point to 'console_main' Both contains an entry point to 'WinMain@16', but this is "handled" b

[Tinycc-devel] [BUG] 0.9.28.pre - Cannot link due to : undefined symbol 'main'

2021-11-21 Thread david . koch
Hi, using TCC here and there, maintaining a "personal" copy here : https://github.com/Kochise/tinycc_win32 I was working on compiling GLFrontier with TCC, yet just got : tcc: error: undefined symbol 'main' I made some slight changes to the code (like adding Christian Jullien's dirent for TCC)