Mail Archives: djgpp/2000/01/12/14:56:52
Thanks for the information that assembly language for amd processors is
more or
less identical to the instruction set for the Intel 486 architecture.
The trouble I have
encountered is this: A friend has recently downloaded the djgpp package
(I have
been using mine for more than 1 year) and tried to compile some of my
source
codes. He has an AMD processor. It all went ok except when compiling
my
codes using assembly language. That also went ok except when using the
-O2
optimization switch (gxx codename.cc -o codename.exe -O2). Strangely
enough, the executable crashed in that case. Also, we noted that the
codes
ran (on the machine with an AMD processor) as fast without the -O2
switch
as we thought they would with the -O2 chip (as though optimization was
not
necessary with the AMD processor).
My question is: does anyone have similar experience? And what are
the
optimization switches for the AMD processor?.
- Raw text -