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

Re: [MiNT] windom and gcc4



Miro Kropacek wrote:
The application crashes on PC=0,

Bad luck.

You didn't gave all the details.
What happens with GCC 4.x for 68000 ?

You should isolate the problem.
Mix the libraries produced with different compilers so know in which component the bug appears: zWeather ? gemlib ? WinDom ? MiNTLib ? Or something else ?

Then you should try to know from which .o the bug comes from.

As always, you can put traces everywhere to see when it happens.

Of course you should try the classical obvious stuff first:
- increase the stack size
- compile with -fno-strict-aliasing

You can also get some help from gdb.
You should try with memory protection, too.

You can also share your buggy binary so we can try it.

Good luck.

--
Vincent Rivière