Skip to contentSkip to conversation

Compilation on FC3 x86_64; x86_64 target problems

Qemu-devel Bob Deblier 1 participant 1 message Feb 12, 2005

lore
Share & tools
lore
#0 lore raw

Many errors during compilation complaining about no fields t0, t1, t2 in structure.

This is likely because of the following #if in file target-i386/cpu.h:

Quoted 5 lines

typedef struct CPUX86State {

#if TARGET_LONG_BITS > HOST_LONG_BITS
    /* temporaries if we cannot store them in host registers */
    target_ulong t0, t1, t2;

#endif

On an x86_64 host, TARGET_LONG_BITS == HOST_LONG_BITS, hence no definition. I'm in a little over my head for this one...

Sincerely,

Bob Deblier