Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

DevKitPro

(1/1)

calthephenom:
how do i setup the devkitpro lib? , i am going to download codeblocks for creating custom content for the wii

stahta01:
What OS and Version?

For those who had no idea what DevKitPro is, like me, see link http://wiibrew.org/wiki/DevkitPro site.

Tim S.


calthephenom:
windows exp standard
1.4.9

stahta01:
Got it to compile and link; attached project below; no idea if safe to upload it to hardware.
Edit: My path to kit is "C:\GreenApps\devkitPro" this is hardcoded in the project search path; will need changed to the proper prefix.

Note: I put stuff in the project file that should be in the compiler setting because it was easier to test and not sure which stuff should be where.

This is just a educated guess on how to do it.

Steps
1. Copy the "GNU GCC Compiler for PowerPC" Compiler
2. Modify the new "GNU GCC Compiler for PPC for Wii" Compiler
2A. Change Compiler Installation Directory
2B. Change Program file prefix for "ppc-" to "powerpc-gekko-"
     Example change ppc-gcc.exe to powerpc-gekko-gcc.exe

Tim S.

PS: You might read this and see if it gives you an idea
http://wiki.codeblocks.org/index.php?title=Adding_support_for_non_C/C%2B%2B_files_to_the_build_system

Changed "Compile single file to object like below"; not sure if this change is needed if you do not want the .d file to be created.

--- Code: ---$compiler $options -MMD -MP -MF $objects_output_dir/$file_name.d $includes -c $file -o $object

--- End code ---


Attached wii project file with sample template code.


[attachment deleted by admin]

Navigation

[0] Message Index

Go to full version