Welcome! Log In Create A New Profile

Advanced

using Code::Blocks

Posted by pokeparadox 
using Code::Blocks
September 01, 2008 12:18PM
Hi there, I use Code::Blocks to manage my projects and have it setup to compile for Windows, Linux, GP2X, etc. I've been trying to add Wii as a compile target too, but I currently get the following error:
Quote
ld.exe: warning||cannot find entry symbol _start; defaulting to 018000a0|

Any ideas guys?
Re: using Code::Blocks
September 01, 2008 03:06PM
You need a cross-compiler and a cross-linker.
Re: using Code::Blocks
September 02, 2008 12:59AM
Well I have devkitPPC and I'm pointing Code::Blocks to the relevant exe files for gcc, g++.
I also setup the project to link ogc and SDL.
It seems to compile the objects and stop when trying to link it...
Re: using Code::Blocks
September 02, 2008 07:52AM
Well, it can not find the real entry point, so you are missing the runtime library that provides it for you. Link with that one.
Re: using Code::Blocks
October 18, 2008 08:00AM
Oh man,
I'd love to get Code::Blocks or VisualC++ to work with this. Any luck?
Re: using Code::Blocks
October 19, 2008 09:17PM
you have to set ld to powerpc-gekko-ld and ldflags to the flags in the example makefiles.
Re: using Code::Blocks
October 19, 2008 10:33PM
Well the solution that apparently worked for pokeparadox is here.
Re: using Code::Blocks
October 24, 2008 08:52AM
cool thanks :)
Sorry, only registered users may post in this forum.

Click here to login