Martin Bochnig
2006-Oct-13 14:15 UTC
[qemu-discuss] Re: [Qemu-devel] AMD64+Solaris10 compile
================================================================================Let us all thank the grand-masters Fabrice Bellard (autor) and Juergen Keil (port to SunOS5.x), and Johannes Schindelin (getting sparc-port to work for the very first time). ================================================================================ FYI: Currently re-compiling on 100% clean Solaris2.8 blastwave build stack ... I''m re-compiling for all host-targets because I accidently had a not perfect build env: export PATH=/opt/SUNWqemu/bin/\$ISALIST:/opt/SUNWqemu/bin:/opt/csw/gcc3/bin:$PATH export LD_LIBRARY_PATH=/opt/SUNWqemu/lib/\$ISALIST:/opt/SUNWqemu/lib:/opt/csw/lib/\$ISALIST:/opt/csw/lib:/opt/csw/gcc3/lib:$LD_LIBRARY_PATH export LD_OPTIONS="-R/opt/SUNWqemu/lib/\$ISALIST -R/opt/SUNWqemu/lib -L/opt/SUNWqemu/lib/\$ISALIST -L/opt/SUNWqemu/lib" ### -R/opt/csw/lib/\$ISALIST -R/opt/csw/lib -L/opt/csw/lib -R/opt/csw/gcc3/lib -L/opt/csw/gcc3/lib" export CPPFLAGS=-I/opt/csw/include export MAKE="gmake" Logical mistake: $ISALIST is naturally always the same (the one of the build host). i.e. all qemu binaries built for sparcv7 had therefore been linked against v8plus versions of the dependencies. That''s naturally not the intended behaviour. Note: I will integrate all required libSDL and libz targets into the SUNWqemu pkg. I''m hardwiring the corresponding /opt/SUNWqemu/lib/$ISAEXEC paths into the binaries. The SUNWqemu package will not depend on any third party package. Plus: This shall be valid for all versions down to Solaris8_FCS (Full cluster plus oem installation). -MB