Difference between revisions of "QEMU"

From CBLFS
Jump to navigationJump to search
(Use gcc-3.3. qemu-0.9.0 (in system mode, not linux-user mode) segfaults on startup for me when compiled with gcc-4.1.1, but 3.3.6 works fine.)
(So figure out why and give us a patch if it's not user error.)
Line 13: Line 13:
 
=== Required ===
 
=== Required ===
 
* [[SDL]]
 
* [[SDL]]
* [[GCC-3.3]] (complete package)
+
 
 +
{{Note|Some users have reported that Qemu-0.9.0 in system mode segmentation faults on startup for when compiled with gcc-4.1.1.  gcc-3.3.6 is reported to work fine.}}
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 19: Line 20:
 
Compile the package:
 
Compile the package:
  
CC=/opt/gcc-{{GCC-3.3-Version}}/bin/gcc \
+
  ./configure --prefix=/usr &&
  ./configure --prefix=/usr --cc=/opt/gcc-{{GCC-3.3-Version}}/bin/gcc &&
 
 
  make
 
  make
  
Line 34: Line 34:
 
Compile the package:
 
Compile the package:
  
  CC="/opt/gcc-{{GCC-3.3-Version}}/bin/gcc ${BUILD32}" USE_ARCH=32 \
+
  CC="gcc ${BUILD32}" USE_ARCH=32 \
  ./configure --prefix=/usr --cc="/opt/gcc-{{GCC-3.3-Version}}/bin/gcc ${BUILD32}" &&
+
  ./configure --prefix=/usr &&
 
  make
 
  make
  
Line 46: Line 46:
 
Compile the package:
 
Compile the package:
  
  CC="/opt/gcc-{{GCC-3.3-Version}}/bin/gcc ${BUILDN32}" USE_ARCH=n32 \
+
  CC="gcc ${BUILDN32}" USE_ARCH=n32 \
  ./configure --prefix=/usr --cc="/opt/gcc-{{GCC-3.3-Version}}/bin/gcc ${BUILDN32}" &&
+
  ./configure --prefix=/usr &&
 
  make
 
  make
  
Line 58: Line 58:
 
Compile the package:
 
Compile the package:
  
  CC="/opt/gcc-{{GCC-3.3-Version}}/bin/gcc ${BUILD64}" USE_ARCH=64 \
+
  CC="gcc ${BUILD64}" USE_ARCH=64 \
  ./configure --prefix=/usr --cc="/opt/gcc-{{GCC-3.3-Version}}/bin/gcc ${BUILD64}" &&
+
  ./configure --prefix=/usr &&
 
  make
 
  make
  

Revision as of 03:41, 28 June 2007

Download Source: http://www.qemu.com/qemu-0.9.1.tar.gz

Introduction to QEMU

QEMU is a generic and open source machine emulator and virtualizer.

Project Homepage: http://fabrice.bellard.free.fr/qemu/

Dependencies

Required

Caution.png

Note

Some users have reported that Qemu-0.9.0 in system mode segmentation faults on startup for when compiled with gcc-4.1.1. gcc-3.3.6 is reported to work fine.

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
make

Install the package

make install

Multilib

This package does not provide any libraries so only one installation is needed.

32Bit

Compile the package:

CC="gcc ${BUILD32}" USE_ARCH=32 \
./configure --prefix=/usr &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" USE_ARCH=n32 \
./configure --prefix=/usr &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" USE_ARCH=64 \
./configure --prefix=/usr &&
make

Install the package

make install