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.)
Line 13: Line 13:
 
=== Required ===
 
=== Required ===
 
* [[SDL]]
 
* [[SDL]]
 +
* [[GCC-3.3]] (complete package)
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 18: Line 19:
 
Compile the package:
 
Compile the package:
  
  ./configure --prefix=/usr --disable-gcc-check &&
+
CC=/opt/gcc-{{GCC-3.3-Version}}/bin/gcc \
 +
  ./configure --prefix=/usr --cc=/opt/gcc-{{GCC-3.3-Version}}/bin/gcc &&
 
  make
 
  make
  
Line 32: Line 34:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD32}" USE_ARCH=32 \
+
  CC="/opt/gcc-{{GCC-3.3-Version}}/bin/gcc ${BUILD32}" USE_ARCH=32 \
  ./configure --prefix=/usr --disable-gcc-check &&
+
  ./configure --prefix=/usr --cc="/opt/gcc-{{GCC-3.3-Version}}/bin/gcc ${BUILD32}" &&
 
  make
 
  make
  
Line 44: Line 46:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILDN32}" USE_ARCH=n32 \
+
  CC="/opt/gcc-{{GCC-3.3-Version}}/bin/gcc ${BUILDN32}" USE_ARCH=n32 \
  ./configure --prefix=/usr --disable-gcc-check &&
+
  ./configure --prefix=/usr --cc="/opt/gcc-{{GCC-3.3-Version}}/bin/gcc ${BUILDN32}" &&
 
  make
 
  make
  
Line 56: Line 58:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD64}" USE_ARCH=64 \
+
  CC="/opt/gcc-{{GCC-3.3-Version}}/bin/gcc ${BUILD64}" USE_ARCH=64 \
  ./configure --prefix=/usr --disable-gcc-check &&
+
  ./configure --prefix=/usr --cc="/opt/gcc-{{GCC-3.3-Version}}/bin/gcc ${BUILD64}" &&
 
  make
 
  make
  

Revision as of 19:09, 27 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

Non-Multilib

Compile the package:

CC=/opt/gcc-3.3.6/bin/gcc \
./configure --prefix=/usr --cc=/opt/gcc-3.3.6/bin/gcc &&
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="/opt/gcc-3.3.6/bin/gcc ${BUILD32}" USE_ARCH=32 \
./configure --prefix=/usr --cc="/opt/gcc-3.3.6/bin/gcc ${BUILD32}" &&
make

Install the package

make install

N32

Compile the package:

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

Install the package

make install

64Bit

Compile the package:

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

Install the package

make install