tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Self-compiled PE code can't run


From: Hanzac Chen
Subject: Re: [Tinycc-devel] Self-compiled PE code can't run
Date: Mon, 10 Dec 2007 11:02:56 +0800

Hi,

On Dec 10, 2007 2:52 AM, grischka  wrote:
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

Oh, I'm just using the old libtcc1.a ...

Thanks
Hanzac

reply via email to

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