Building RetroArch: Difference between revisions
update |
Debug build info |
||
| Line 97: | Line 97: | ||
You should see a list of files being compiled, ending with <code>LD retroarch</code>. You can then copy the newly compiled <code>retroarch.exe</code> from <code>libretro-super\retroarch</code> to wherever you keep your RetroArch installation. | You should see a list of files being compiled, ending with <code>LD retroarch</code>. You can then copy the newly compiled <code>retroarch.exe</code> from <code>libretro-super\retroarch</code> to wherever you keep your RetroArch installation. | ||
If you want to do a debug build, then execute the following: | |||
make clean | |||
make DEBUG=1 GL_DEBUG=1 -j4 | |||
mv retroarch.exe retroarch_debug.exe | |||
This build will have all of the debug symbols intact and will be built with compiler optimizations turned off, so it can be run through a debugger like gdb. | |||
If you are experiencing a missing DLL error, you can fetch all MSYS2 installed DLLs by executing this line: | If you are experiencing a missing DLL error, you can fetch all MSYS2 installed DLLs by executing this line: | ||
| Line 110: | Line 118: | ||
After they build, you can copy the filters to your RetroArch installation. | After they build, you can copy the filters to your RetroArch installation. | ||
==Building libretro cores== | ==Building libretro cores== | ||