[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Program Entry Point

From: grischka
Subject: Re: [Tinycc-devel] Program Entry Point
Date: Sun, 19 Jul 2009 03:00:21 +0200

From: "Tiago O."
If I define _start function without/before defining _winstart when compiling 
console app,
tcc shows an error > message:

tcc: _start not defined

Íf there is a symbol "WinMain" in your files then tcc wants _winstart, 
otherwise it
wants _start.   However there is currently a bug that you'd still get this 
error if _start
is linked at offset 0.

So, in between, just don't let _start (rsp. _winstart) be the first function ;)

--- grischka

reply via email to

[Prev in Thread] Current Thread [Next in Thread]