Mail Archives: djgpp/2000/01/14/21:05:28
On 14 Jan 00, at 11:49, GAMMELJL AT SLU DOT EDU wrote:
> The executables produced by compiling the source codes containing
> assembly language with the -O2 optimization switch on a machine with a
> Intel chip do run properly and the -O2 optimization does speed up the
> executables by quite a bit.
Since you say that the DJGPP programs run OK under Intel and
crash under AMD CPU's could you please post what the DJGPP
program prints to the screen when it crashes.
This will help to identify what exactly is causing your program to
crash.
Also could you please post, What DJGPP version are you using,
What GCC version, the Intel CPU , The AMD CPU ?
> The source code is much to long to post (more than 5000 lines).
> I will be looking into the problem further and will answer Grendel's
> other questions in a few days.
>
If you could post what the programs print's when it crashes on the
AMD machine, The exact area of your code which is giving the
problem could also be identified.
The DJGPP FAQ has more about the crash messages and how to
interpret them if you are interested.
Grendel
- Raw text -