From a319b8f7c710819f434126b68bf1b62b0c240ab3 Mon Sep 17 00:00:00 2001 From: QbeRoot Date: Sun, 24 Sep 2017 18:22:44 +0200 Subject: [PATCH] Fixed build.bat and patchdol.bat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I made the port in the root folder by appending “EU” to every file name, so build.bat and patchdol.bat referenced linkerEU, dollinkerEU and smsFuncsEU, which don’t exist anymore. --- ports/pal/build.bat | 2 +- ports/pal/patchdol.bat | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ports/pal/build.bat b/ports/pal/build.bat index a848b81..73abdf6 100644 --- a/ports/pal/build.bat +++ b/ports/pal/build.bat @@ -2,7 +2,7 @@ C:\devkitPro\devkitPPC\bin\powerpc-eabi-gcc.exe %1 -S -o %~n1.s -O1 -std=c99 C:\devkitPro\devkitPPC\bin\powerpc-eabi-gcc.exe %1 -c -o %~n1.o -O1 -std=c99 if ERRORLEVEL 1 pause if ERRORLEVEL 1 exit -C:\devkitPro\devkitPPC\bin\powerpc-eabi-ld.exe -Os -T linkerEU -T smsFuncsEU -o obj_%~n1.o %~n1.o -Map %~n1.map +C:\devkitPro\devkitPPC\bin\powerpc-eabi-ld.exe -Os -T linker -T smsFuncs -o obj_%~n1.o %~n1.o -Map %~n1.map if ERRORLEVEL 1 pause if ERRORLEVEL 1 exit C:\devkitPro\devkitPPC\bin\powerpc-eabi-objdump.exe obj_%~n1.o --full-content diff --git a/ports/pal/patchdol.bat b/ports/pal/patchdol.bat index 0f0c145..0ad601e 100644 --- a/ports/pal/patchdol.bat +++ b/ports/pal/patchdol.bat @@ -2,7 +2,7 @@ C:\devkitPro\devkitPPC\bin\powerpc-eabi-gcc.exe %1 -S -o %~n1.s -O1 -std=c99 -w C:\devkitPro\devkitPPC\bin\powerpc-eabi-gcc.exe %1 -c -o %~n1.o -O1 -std=c99 -w if ERRORLEVEL 1 pause if ERRORLEVEL 1 exit -C:\devkitPro\devkitPPC\bin\powerpc-eabi-ld.exe -Os -T dollinkerEU -T smsFuncsEU -o obj_%~n1.o %~n1.o -Map %~n1.map +C:\devkitPro\devkitPPC\bin\powerpc-eabi-ld.exe -Os -T dollinker -T smsFuncs -o obj_%~n1.o %~n1.o -Map %~n1.map if ERRORLEVEL 1 pause if ERRORLEVEL 1 exit C:\devkitPro\devkitPPC\bin\powerpc-eabi-objdump.exe obj_%~n1.o --full-content