Difference between revisions of "DevkitPPC"

From WiiBrew
Jump to navigation Jump to search
(Set version to 39)
 
(60 intermediate revisions by 25 users not shown)
Line 1: Line 1:
{{Infobox homebrewapp
+
{{Lowercase title‎}}
| title      = devkitPro
+
{{Infobox development tools
| image      = [[Image:Devkitlogo.png|128px|center]]
+
| title      = devkitPPC
| desc      = Homebrew console development tools based on the gnu compiler collection with additional tools and libraries.
+
| image      = [[File:Devkitlogo.png|128px|center]]
| type        = Library, Build Tools
+
| type        = library
| license     = GPL
+
| maintainer  = WinterMute
| source      = [http://www.devkitpro.org/ devkitpro.org]
+
| version    = r39
| download    = [http://sourceforge.net/projects/devkitpro/ Sourceforge]
+
| licence     = Various
 +
| download    = http://sourceforge.net/projects/devkitpro/
 +
| website    = http://www.devkitpro.org/
 +
| discussion  = http://forums.devkitpro.org/viewforum.php?f=3
 +
| source      = http://sourceforge.net/projects/devkitpro/develop
 
}}
 
}}
  
'''DevkitPro''' is the toolchain of choice for homebrew development.  It is currently available for GameBoy Advance, DS, GP32, Playstation Portable (PSP), GameCube, and Wii. Instructions for setting up the system are available for [[Getting_Started_with_devkitppc|Windows]], [[Getting_started_with_DevkitPPC_on_Mac_OS_X|Mac OSX]] and [[Getting_started_with_DevkitPPC_on_Linux|Linux]]. Additional information and download links can be found at the [http://www.devkitpro.org/ DevkitPro website].
+
'''devkitPPC''' is a port of the GNU Compiler Collection (GCC) and includes a C (gcc) and C++ compiler (g++), a debugger (gdb) and associated utilities, with the architecture "powerpc-eabi". It also includes standard C libraries based on [http://sourceware.org/newlib newlib], which is specifically designed for embedded systems. Compilers and libraries are also included for the MN10200, the Matsushita (Panasonic) chip used in the Wii DVD controller. It is designed to be used in conjunction with [[libogc]], a collection of Wii-specific low-level libraries.
  
==Contents==
+
Instructions for setting up the system are available for [[Devkitppc_setup_(Windows)|Windows]], [[Devkitppc_setup_(Mac OS X)|macOS]] and [[Devkitppc_setup_(Linux)|Linux]]. Additional information and download links can be found at the [http://www.devkitpro.org/ devkitPro website].
DevkitPro consists of several parts, with the following being relevant to GameCube/Wii development:
 
  
===devkitPPC===
+
Automated install scripts for Linux can be found at [[DevkitPPC.sh]] and [[DevkitProLinuxInstall]]. These are 3rd party installers and are not supported by the devkitPRO team. So don't complain to them if they break something.
This is a port of the GNU Compiler Collection (GCC) and includes a C (gcc) and C++ compiler (g++), a debugger (gdb) and associated utilities, with the architecture "powerpc-gekko".  It also includes standard C libraries based on [http://sourceware.org/newlib newlib], which is specifically designed for embedded systems. Compilers and libraries are also included for the MN10200, the Matsushita (Panasonic) chip used in the Wii DVD controller.
 
  
For Windows users it comes with the [http://www.mingw.org/msys.shtml MSYS] environment, which is a minimal set of unix-like tools such as a shell.
+
devkitPPC also comes with example source code documents that can be used to base one's project off of. These include examples in audio, graphics, and adding a GUI to a homebrew app.  
  
===libogc===
+
For Windows users it comes with the [http://www.mingw.org/wiki/MSYS MSYS] environment, which is a minimal set of GNU tools such as a shell.
libogc is a collection of libraries for the GameCube and Wii. It includes the following low-level wii/gamecube specific sub-systems:
 
*ARAM
 
*AUDIO
 
*EXI - Support routines for the system bus which connects many internal devices to the CPU
 
*IRQ - Hardware Interrupts
 
*DSP
 
*DVD
 
*GX
 
*VIDEO
 
*Cache
 
*Memory Card
 
*Console
 
*Threads
 
**Messages
 
**Mutexes
 
**Semaphores
 
**Condition Variables
 
Information on many of these sub-systems can be found in [[YAGCD]].
 
  
===Additional libraries===
+
=== Ported libraries ===
libogc also incorporates the following libraries (which may be custom versions of external libraries):
+
 
*libdb - routines to support remote debugging
+
The following libraries are [http://sourceforge.net/projects/devkitpro/files/portlibs available for download] from devkitPro SourceForge, precompiled for use with devkitPPC. Simply place them in the appropriate devkitPPC portlibs folder (on Windows this is c:\devkitPro\portlibs\ppc).
*[[Wiiuse]] - an API for the wiimote (also available on Windows and Linux), which is encapsulated in libogc within the WPAD_ interface
+
 
*libfat - routines for accessing FAT filesystems such as those on SD cards
+
* Expat - XML parser library
*libmodplay - music module player library
+
* FreeType - TTF/Type1 font support
*[http://www.underbit.com/products/mad/ libmad] - MPEG audio decoder library
+
* libjpeg - JPEG support library
*[http://www.zlib.net zlib] - compression routines
+
* libpng - PNG support library
*[http://www.sm.luth.se/~conny/lwbt/ lwbt] - lightweight bluetooth stack
+
* [[Mini-XML]] - XML library
*[http://savannah.nongnu.org/projects/lwip/ lwip] - lightweight TCP/IP stack
+
* libtremor - An integer-only fully Vorbis compliant software decoder library
*tinysmb - [http://en.wikipedia.org/wiki/Server_Message_Block SMB] implementation (protocol used by Windows file sharing)
+
* zlib - ZIP compression/decompression library
 +
 
 +
=== Tools ===
  
===Tools===
 
 
The following tools are included as well:
 
The following tools are included as well:
*doltool - a tool for converting to and from [[Dol|.dol]] executable files and examining their contents
 
*gcdspsuite - an assembler for the gamecube DSP chip
 
  
==See also==
+
* [[doltool]] - a tool for converting to and from [[Dol|.dol]] executable files and examining their contents
*[[Developer Tips]]
+
* [[gcdspsuite]] - an assembler for the gamecube DSP chip written by duddie.
*[[Development Tools]]
+
* [[wiiload]] - a utility for uploading code to the wii written by [[User:dhewg|Dhewg]].
*[[Debugging]]
+
* [[gxtexconv]] - a utility for texture conversion written by Shagkur.
 +
 
 +
== See also ==
 +
 
 +
* [[libogc]]
 +
* [[Developer Tips]]
 +
* [[Development Tools]]
 +
* [[Debugging]]
  
 
[[Category:Libraries]]
 
[[Category:Libraries]]
 
[[Category:Development]]
 
[[Category:Development]]

Latest revision as of 05:48, 10 June 2021

devkitPPC
Devkitlogo.png
General
Maintainer(s)WinterMute
TypeLibrary
Versionr39
LicenceVarious
Links
Download
Website
Discussion
Source

devkitPPC is a port of the GNU Compiler Collection (GCC) and includes a C (gcc) and C++ compiler (g++), a debugger (gdb) and associated utilities, with the architecture "powerpc-eabi". It also includes standard C libraries based on newlib, which is specifically designed for embedded systems. Compilers and libraries are also included for the MN10200, the Matsushita (Panasonic) chip used in the Wii DVD controller. It is designed to be used in conjunction with libogc, a collection of Wii-specific low-level libraries.

Instructions for setting up the system are available for Windows, macOS and Linux. Additional information and download links can be found at the devkitPro website.

Automated install scripts for Linux can be found at DevkitPPC.sh and DevkitProLinuxInstall. These are 3rd party installers and are not supported by the devkitPRO team. So don't complain to them if they break something.

devkitPPC also comes with example source code documents that can be used to base one's project off of. These include examples in audio, graphics, and adding a GUI to a homebrew app.

For Windows users it comes with the MSYS environment, which is a minimal set of GNU tools such as a shell.

Ported libraries

The following libraries are available for download from devkitPro SourceForge, precompiled for use with devkitPPC. Simply place them in the appropriate devkitPPC portlibs folder (on Windows this is c:\devkitPro\portlibs\ppc).

  • Expat - XML parser library
  • FreeType - TTF/Type1 font support
  • libjpeg - JPEG support library
  • libpng - PNG support library
  • Mini-XML - XML library
  • libtremor - An integer-only fully Vorbis compliant software decoder library
  • zlib - ZIP compression/decompression library

Tools

The following tools are included as well:

  • doltool - a tool for converting to and from .dol executable files and examining their contents
  • gcdspsuite - an assembler for the gamecube DSP chip written by duddie.
  • wiiload - a utility for uploading code to the wii written by Dhewg.
  • gxtexconv - a utility for texture conversion written by Shagkur.

See also