On 2009-05-18 Piotr Roszatycki <[email protected]> wrote:

> 2009/5/17 Andreas Metzler <[email protected]>:
>>> There is a second, slightly diffeent instance of the same code in
>>> boot/cpucheck.c. Does this one also prodecue the Illegal instruction
>>> error?

>>> cu and- doesn't speak ASM -reas

>> Ping...


> Hi. Sorry for delay.

> I can't compile this code:

> $ gcc -o cpuid2 cpuid2.c
> cpuid2.c: Assembler messages:
> cpuid2.c:16: Error: suffix or operands invalid for `pushf'
> cpuid2.c:16: Error: suffix or operands invalid for `pushf'
> cpuid2.c:16: Error: suffix or operands invalid for `pop'
> cpuid2.c:16: Error: suffix or operands invalid for `push'
> cpuid2.c:16: Error: suffix or operands invalid for `popf'
> cpuid2.c:16: Error: suffix or operands invalid for `pushf'
> cpuid2.c:16: Error: suffix or operands invalid for `pop'
> cpuid2.c:16: Error: suffix or operands invalid for `popf'

> Perhaps you could send me binary to run?

Strange, it builds for me on i486, but fails  to build on amd64.
Extrapolationg from that I would assume building in i386 should work.
:-(
cu andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to