I'm using the good old libogc (1.8.11) / devkitpro (r26) I'm keeping preciously, to compile old / sleeping / outdated / dead projects
And I made a batch to have some kind of "portable" devkitpro/libogc environment, so I can use as many versions as I need. If it can help, here it is :
Code:
@echo off
title Snes9xGX compilation
CD..\..\..
SET PATH=%cd%\msys\bin;%cd%\devkitPPC\bin;C:\Program Files\TortoiseSVN\bin
SET DEVKITPRO=/%CD::=%
SET DEVKITPRO=%DEVKITPRO:\=/%
SET DEVKITPPC=%devkitpro%/devkitPPC
SET DEVKITARM=%devkitpro%/devkitARM
CD %~dp0
make -f makefile.wii
wiixz executables\snes9xgx-wii.dol hbc\boot.dol
pause
As you can see, you must follow some path's "schematic" (because of CD..\..\..), like this example : Devkitpro\Homebrews\Wii\snes9xgx-master\compile_wii.bat
and you also have to put wiixz.exe in the same folder as the makefile / batch if you want a compressed dol...size is divided by 3.5 with snes9xgx !
With this and my libogc/devkitpro version, I'm able to compile snes9xgx without any problem when no source file is missing, like msu1.h/msu1.cpp in source/snes9x
(except some compilation warnings because of unused variables in snes9xgx)
ps : I can share my devkitpro folder, if needed.