Thanks for the help, Wintermute, but I'm not quite out of the woods yet. I double and triple-checked my project steup against the link you posted and it turns out that I had missed the step about ‘Create directory for solution’ box being unchecked. Once I made a new project with that unchecked and added the makefile in the right place I was able to compile using the GCC compiler.
(Oh, and for the benefit of anyone who's going through this as well - your next step will probably be to move your project out of the default VC++ location, because the compiler chokes on the spaces in the "my documents" path.)
The problem I've got now sounds similar to
this one, but I've verified that my cpp extensions are lowercase. The error is this:
Code: Select all
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-gekko/4.2.4/../../../../powerpc-gekko/lib/crtmain.o: In function `__crtmain':
e:/projects/devkitPro/buildscripts/newlib-1.17.0/libgloss/rs6000/crtmain.c(18): undefined reference to `main'
Thanks again for the help!
//edit: I finally figured it out - my cpp file wasn't in the source directory!