On Dec 7, 2007 9:40 PM, grischka wrote:
From: "Hanzac Chen":
> I don't know what the cause of it. But after I tried to compile tcc source
> using tcc itself on windows platform, the output tcc.exe can't run, directly
> crashed and tried to report a error.
I don't see that. In win32:
build-tcc.bat
.\tcc.exe ..\tcc.c -o tcc1.exe -lkernel32
.\tcc1.exe ..\tcc.c -o tcc2.exe -lkernel32
diff -s tcc1.exe tcc2.exe
Files tcc1.exe and tcc2.exe
are identical
Can you build and run the examples?
--- grischka
Yes, it can build and run the examples without problems.
I've put some debug outputs to show where the spot is. It crashes when calling tcc_define_symbol in the tcc_new(), line: 9999
FYI
Hanzac