compilation - How to compile QEMU for 64 bit -
i'm trying comlpile qemu source code 64 bit ,but being compiled in 32 bit ..
these commands i'm using
#!/bin/bash cd qemu-1.6.0\ export pkg_config_path=`pwd`/../support_libs/libs/glib/lib/pkgconfig:`pwd`/../suu pport_libs/libs/zlib/lib/pkgconfig export cflags="-mabi=64" qemu_cflags="-mabi=64" sudo ./configure --prefix=`pwd`/../support_libs/libs/qemuu --target-list=mips64-softmmu --enable-kvm --enable-fdt --with-coroutine=sigaltss tack --extra-cflags="-i`pwd`/../support_libs/libs/glib/include/glib-2.0/" sudo make && sudo make install
i'm saving in file named "build.sh" , running script "./build.sh"
any appreciated
you executing script ./build.sh
environments export child shell sessions when give sudo make
in script not inherit exported variables.
change script little bit removing sudo
make
, make install
, run script sudo
#!/bin/bash cd qemu-1.6.0\ export pkg_config_path=`pwd`/../support_libs/libs/glib/lib/pkgconfig:`pwd`/../suu pport_libs/libs/zlib/lib/pkgconfig export cflags="-mabi=64" qemu_cflags="-mabi=64" sudo ./configure --prefix=`pwd`/../support_libs/libs/qemuu --target-list=mips64-softmmu --enable-kvm --enable-fdt --with-coroutine=sigaltss tack --extra-cflags="-i`pwd`/../support_libs/libs/glib/include/glib-2.0/" make && make install
now run script
sudo ./build.sh
Comments
Post a Comment