From FreeOsZoo
Summary
About the image
| Name | debian_lenny_powerpc_small.aj.qcow2
|
| Language | English
|
| Root password | root
|
| User account | user
|
| User password | user
|
| Qemu version required | 0.11.0 or later. Start QEMU
|
| Qemu command | qemu-system-ppc -hda debian_lenny_powerpc_small.aj.qcow2
|
| Description | A standard system Debian install
|
Notes
- Tested on ubuntu 9.04 / Pentium 4, with source compiled qemu-0.12.2 (standard ./configure && make install)
- Networking worked out-of-the-box
Hello World
To compile and run 'hello world' you can do the following:
- login as user
- run these commands
su
apt-get update
apt-get install gcc
echo "main(){printf("Hello World!\n");}" >> test.c
gcc test.c && ./a.out
gcc -S test.c && cat test.s
The last line will show you the assembler code for the PowerPC.
Screenshots
|
| gcc generating PPC assembler
|