On Sunday 12 January 2003 20:34, PhiHo Hoang wrote: > > I suppose "DATE" is used within these include files. You should change > > DATE in > > > bigforth.c to something else (e.g. VERSION_DATE), and also in the > > invocation > > >of GCC. > > That's correct. I figured that out and could build with old gcc > (2.9.5.2) from > MinGW (built under Windows command prompt). > > I merged linker.s into bf_link of bigforth.c and been trying to port to > MSVC. > (for debugging purpose). > > It's compiled and linked OK but somehow crashed upon returning from > bf_link. > (called from 'linkit'). > > Upon entry to bflink (before pusha) > > EAX: undefined EBX: 7FFdF000 ECX: 00000000 EDX: 00440044 > ESI: 0012FBFC EDI: 0012FA50 EBP: 0012FA50 > EIP: 00401661 ESP: 0012F93C > > Before leaving bf_link (after popa) > > EAX: 0000CCCC EBX: 0000F000 ECX: 00000000 EDX: 00440044 > ESI: 0044FBFC EDI: 0044FA50 EBP: 0044FA50 > EIP: 00401696 ESP: 0012F93C > > Any idea as what may be causing the crash ?
Looks like pusha/popa are assembling the 16 bit version in MSVC. -- Bernd Paysan "If you want it done right, you have to do it yourself" http://www.jwdt.com/~paysan/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
