[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Self-compiled PE code can't run
From: |
grischka |
Subject: |
Re: [Tinycc-devel] Self-compiled PE code can't run |
Date: |
Sun, 9 Dec 2007 19:52:31 +0100 |
From: "Hanzac Chen":
> Hi,
> On Dec 7, 2007 9:40 PM, grischka wrote:
> > 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.
And the above given command sequence?
> 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
Even better than WHERE or WHEN would be to know WHY it crashes.
However, maybe you are using the wrong __chkstk function. Make
shure to use a libtcc1.a that is built from the CVS sources.
--- grischka