libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
10.21k stars 1.82k forks source link

Add WiiU compiling instructions to README.md #3885

Closed JaceCear closed 7 years ago

hizzlekizzle commented 7 years ago

That's not a good place for it, as our readme would get out of hand if it contained compiling instructions for every platform. The wiki is a better spot.

However, there's nothing to see right now anyway, so unless you're wanting to contribute, you're better off waiting until we get it on the buildbot.

JaceCear commented 7 years ago

I understand that! Just thought since almost every platform is on there, WiiU should be added aswell... Well, I'd definitely try to contribute, but it's a little difficult to do, if I can't get it to compile. I assume, I'm missing a library, any hint where to find it/how to compile it? The following undefined references are in dynamic.c: image

hizzlekizzle commented 7 years ago

The consoles statically link the cores against RetroArch, so make sure you compile a core first and then put the libretro.a file into your RetroArch source tree.

JaceCear commented 7 years ago

Alright! Is it as simple as, for example, cloning the libretro/Nestopia repo, change the CC and CXX values to devkitpro's PPC compilers and just hit 'make core' on its root-directory or am I missing something?

hizzlekizzle commented 7 years ago

There's generally a makefile switch that will handle all of the details for you, e.g. platform=wii. In some repos--usually ones where the libretro-ization is adopted upstream--you have to dig around to find the right makefile (these will usually be named makefile.libretro).

JaceCear commented 7 years ago

Thank you, I'll look what I can find! I guess, I can close this now since the instructions are gonna be on the wiki anyway?