TCC Compiler: Undefined symbol “main”

Two errors: The hello_data variable is declared extern which means it is not defined in this program module so needs to come from somewhere else, from somewhere else that is linked in at the same time. Your WinMain routine calls the hello_func but it is not defined. In C, when you see the definition ending … Read more