Ciao Malinka,

> your -mcpu=i686 specifically tells gcc to compile for 32-bit cpu you
> need to use something like
> -march=k8 or -mtune=k8 usually

ok, I can understand it, but I thought that it was enough to run
./compile
to obtain the correct Makefile with the right cpu-option

>> [EMAIL PROTECTED]:/usr/src/kvm-79# ./configure
>> Source path       /usr/src/kvm-79/qemu
>> C compiler        gcc
>> Host C compiler   gcc
>> ARCH_CFLAGS       -m64
>> make              make
>> install           install
>> host CPU          x86_64
>> host big endian   no
>> target list       x86_64-softmmu

so ./compile detect the right cpu/options

>> [EMAIL PROTECTED]:/usr/src/kvm-79# make
>> make -C libkvm
>> make[1]: Entering directory `/usr/src/kvm-79/libkvm'
>> gcc -march=i686    -mcpu=i686    -malign-functions=4 -O2 -m64
>> -D__x86_64__ -MMD -MF ./.libkvm-x86.d -g -fomit-frame-pointer -Wall
>> -fno-stack-protector   -I /usr/src/kvm-79/kernel/include   -c -o
>> libkvm-x86.o libkvm-x86.c

but the Makefile is wrong

do I do something wrong?
Is it necessary to do something different?

thank you

-- 
Paolo Pedaletti

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to