Mail Archives: djgpp-workers/1998/09/10/11:51:12
Hi!
In previous posts I mentioned problems building DJLSR202 using
cross-compiler (egcs-1.1) under Linux. I had to edit some
assembler sources (src/libc/ansi/math) to get them compiled
Ok. (fldcww -> fldcw and fstpcww -> fstpcw)
I tried to find the source of the problem (testing different versions
of binutils). Looks that this problem appears only with binutils
versions (sources) distributed for Linux (2.9.1.0.XX). As the native building
under DOS session under Win95 is too slow I used cross-compiling
from Linux only:
binutils-2.9.1.tar.gz from ftp.gnu.org:
problem does not appear.
binutils-2.9.1.0.7.tar.gz (from sunsite.unc.edu/pub/Linux/GCC):
I had to do changes I mentioned above
binutils-2.9.1.0.12.tar.gz (from sunsite.unc.edu/pub/Linux/GCC/private/tofu):
the same as previous
latest snapshot of binutils (980909) (from ftp.cygnus.com/pub/private/gas):
problem does not appear.
So the linux versions of binutils has been modified so that fldcww and
fstpcww are no more recognized by as. Original versions including latest
snapshot does not have this problem. So the conclusion is that for cross-
compiling for DJGPP under Linux Linux binutils source distributions
should not be used.
Andris
- Raw text -