AMD64 Linux

Thomas Kuehne thomas-dloop at kuehne.cn
Mon Aug 21 22:42:33 PDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Demme schrieb am 2006-08-21:
>>> I've tried both compiling with GCC manually, and the 0.19 i386 binary on
>>> the
>>> website, but neither work properly.  When I use the i386 binary,
>>> compiling a simple test program gives me:
>>> /tmp/ccDMD2fb.s: Assembler messages:
>>> /tmp/ccDMD2fb.s:10: Error: suffix or operands invalid for `push'
>>> /tmp/ccDMD2fb.s:86: Error: suffix or operands invalid for `push'
>>> /tmp/ccDMD2fb.s:93: Error: suffix or operands invalid for `pop'

> I had forgotten -m32, but didn't help...

Let's have a look at the offending file:

gdc -m32 -save-temps -c sample.d

This should generate a sample.s, where the lines 10, 86 and 93 are
looking strange.

Thomas


-----BEGIN PGP SIGNATURE-----

iD8DBQFE6qaBLK5blCcjpWoRAixTAJ4/2lSjaRdUD7OoS9ZeurHUkCJWWwCfUHv+
sdhBEn3dVdsOppMloZv5D3E=
=fWVm
-----END PGP SIGNATURE-----



More information about the D.gnu mailing list