--- qemu.ORIG/Solaris.README 1969-12-31 19:00:00.000000000 -0500 +++ qemu/Solaris.README 2007-12-11 13:21:16.599824000 -0500 @@ -0,0 +1,130 @@ + +Big Rules for compling QEMU on Solaris +-------------------------------------- +1) must use gcc-3.x, not gcc-4.x or Sun Studio +2) must use gmake (or make aliased to gmake) as + normal make in /usr/ccs/bin fails +3) install program is ginstall (blastwave, sunfreeware, + or self compiled) or use /usr/ucb/install by overriding + install with --install=/usr/ucb/install at configure time +4) Need /usr/perl5/bin and /usr/sfw/bin in PATH for building documentation. +5) Open Sound System audio is preferred over Sun Audio. +6) Should read http://www.opensolaris.org/os/project/qemu/host + + +Compiler Status for Building QEMU on Solaris +-------------------------------------------- + +For Solaris 8/9 Sparc and X86, use blastwave gcc 3.4.x + +For Solaris 10 Sparc and X86, use /usr/sfw/bin/gcc + except for compiling 32-bit on an x86-64 host + +For Solaris Express/SXCE/SXDE/11, use /usr/sfw/bin/gcc + + ** Don't bother to use SunFreeware's gcc. It doesn't work. ** + +Read http://www.opensolaris.org/os/project/qemu/host/gcc-failures +for more information. + + +QEMU Status for Solaris +----------------------- + +Solaris Express (aka SXCE and SXDE, and Solaris 11) +--------------------------------------------------- + +32-bit sparc and i386 +64-bit x86-64 +32-bit i386 compiled on x86-64 host +kqemu for 32-bit i386 and 64-bit x86-64 + +libSDL is part of Solaris Express as of build 62, so +this includes both 32-bit and 64-bit libraries. Prior +to build 62, you'll need libSDL from blastwave or +compile it yourself. + +see http://www.opensolaris.org/os/project/qemu/host/Dependencies +for hints on compiling libSDL. + +gcc-3.4.x from /usr/sfw/bin is the preferred compiler, +but for 32-bit, gcc-3.4.x will work from blastwave. + +By default, x86-64 systems compile 64-bit, i386 and sparc +systems compile 32-bit. (64-bit sparc has not been tested +yet due to lack of hardware) + +An option available to configure on 64-bit x86-64 host +is --force-32bit, which compiles QEMU in a 32-bit environment. + +Solaris 10 +---------- + +32-bit sparc and i386 +64-bit x86-64 +32-bit i386 compiled on x86-64 host (*) +kqemu for 32-bit i386 and 64-bit x86-64 + +libSDL from blastwave is 32-bit only, so if you need a 64-bit +version of libSDL, you'll need to compile it yourself. + +see http://www.opensolaris.org/os/project/qemu/host/Dependencies +for hints on compiling libSDL. + +gcc-3.4.3 from /usr/sfw/bin is preferred compiler, but for 32-bit, +gcc-3.4.x will work from blastwave. + +By default, x86-64 systems compile 64-bit, i386 and sparc +systems compile 32-bit. (64-bit sparc has not been tested +and is unlikely to work, due to the lack of 64-bit libraries +for X and libSDL) + +An option available to configure on 64-bit x86-64 host +is --force-32bit, which compiles QEMU in a 32-bit environment. + +* some versions of gcc-3.4.3 in /usr/sfw/bin fail when + compiling 32-bit QEMU on an x86-64 host. See the + gcc-failures page listed above. + +Solaris 9 +--------- + +32-bit sparc and i386 +kqemu for 32-bit i386 only + +libSDL from blastwave is 32-bit only, or you can compille it +yourself. Hints for compiling libSDL on Solaris found at: + +http://www.opensolaris.org/os/project/qemu/host/Dependencies + +gcc-3.4.x from blastwave is the preferred compiler + +i386 requires libsunmath (from the SunStudio compilers, +which are now freely available). Solaris 9 sparc has +native 64-bit math which does not require libsunmath. +see http://www.sun.com/bigadmin/features/techtips/ss11_commands.html +for help on Studio 11 and a download link + +Solaris 8 +--------- + +32-bit sparc and i386 +kqemu for 32-bit i386 only (experimental) + +libSDL from blastwave is 32-bit only, or you can compille it +yourself. Hints for compiling libSDL on Solaris found at: + +http://www.opensolaris.org/os/project/qemu/host/Dependencies + +gcc-3.4.x from blastwave is the preferred compiler + +i386 requires libsunmath (from the SunStudio compilers, +which are now freely available). Solaris 8 sparc has +native 64-bit math which does not require libsunmath. +see http://www.sun.com/bigadmin/features/techtips/ss11_commands.html +for help on Studio 11 and a download link + +kqemu should work, but without a working Solaris 8/x86 +box, I haven't been able to confirm. If you're really +set on running qemu on Solaris 8/x86 with kqemu, just +modify configure to enable it.