Open main menu

Difference between revisions of "HOWTO-Debug-Endian-Issues"

Emphasize preference for Squeeze, and link to the GCC compilation instructions page
(Final draft of HOWTO Debug Endian Issues)
(Emphasize preference for Squeeze, and link to the GCC compilation instructions page)
Line 44: Line 44:
* Install a PPC Linux distribution onto the QEMU PPC VM.
* Install a PPC Linux distribution onto the QEMU PPC VM.
** The full method here is to create a blank QCOW2 disk image file with the qemu-tools and then use this as the main emulated hard disk via the "-hda" option, then add a Linux PPC CDROM ISO image using the "-cdrom" option, start QEMU and do the distribution installation procedure as normal.
** The full method here is to create a blank QCOW2 disk image file with the qemu-tools and then use this as the main emulated hard disk via the "-hda" option, then add a Linux PPC CDROM ISO image using the "-cdrom" option, start QEMU and do the distribution installation procedure as normal.
** However, Debian Linux Squeeze for PPC is suggested as prebuilt disk images are available [http://people.debian.org/~aurel32/qemu/powerpc/ here].
** However, '''Debian Linux Squeeze for PPC''' is suggested as prebuilt disk images are available [http://people.debian.org/~aurel32/qemu/powerpc/ here]. Squeeze is preferred over Wheezy for this.
* Enable VM network access proxied via the host system.
* Enable VM network access proxied via the host system.
** By default, QEMU should be providing a virtual ethernet network adapter to the VM, which will provide access to the internet via the host's connection. This can be checked by the normal methods such as ICMP ping within the VM OS. If this is not working, check on your host machine, then refer to the QEMU documentation for any missing configuration setting and to see if the hosted OS requires any device driver to allow this virtual device to work.
** By default, QEMU should be providing a virtual ethernet network adapter to the VM, which will provide access to the internet via the host's connection. This can be checked by the normal methods such as ICMP ping within the VM OS. If this is not working, check on your host machine, then refer to the QEMU documentation for any missing configuration setting and to see if the hosted OS requires any device driver to allow this virtual device to work.
Line 51: Line 51:
*** Debian: <pre>apt-get update</pre>
*** Debian: <pre>apt-get update</pre>
* Install the ScummVM source code, required libraries and compile a debug build.
* Install the ScummVM source code, required libraries and compile a debug build.
* Within the VM, this can now be done as per a normal Linux build:
* Within the VM, this can now be done as per a normal Linux build. For further information, check our [[Compiling ScummVM/GCC|GCC compilation instructions]] page
** Getting ScummVM source tree: <pre>git clone git://github.com/scummvm/scummvm.git</pre>
** Getting ScummVM source tree: <pre>git clone git://github.com/scummvm/scummvm.git</pre>
*** Refer to [[Developer_Central#Getting_started |here]] for more help.
*** Refer to [[Developer_Central#Getting_started |here]] for more help.
1,502

edits