$ python build.py examples/PyGecko
Building for your cygwin_nt-6.2 platform...
mkdir -p ./bin
# Build findcode
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=532+ ./src/findcode532.c
./src/findcode532.c: In function 'start':
./src/findcode532.c:32:14: warning: comparison between pointer and integer [enabled by default]
if (codebuf == 0x20000000) OSFatal("Code not found");
^
./src/findcode532.c:35:18: warning: assignment makes integer from pointer without a cast [enabled by default]
ropbuf[0x318/4] = &ropbuf[0xa0/4];
^
./src/findcode532.c:36:17: warning: assignment makes integer from pointer without a cast [enabled by default]
ropbuf[0xdc/4] = codebuf + 1;
^
#-Wa,-a,-ad
cp -r ./findcode532.o ./bin
rm ./findcode532.o
powerpc-eabi-ld -Ttext 1800000 --oformat binary -o ./bin/findcode532.bin ./bin/findcode532.o
D:\devkitPro\devkitPPC\bin\powerpc-eabi-ld.exe: warning: cannot find entry symbol _start; defaulting to 01800000
# Get rid of GCC function prologue and move stack out of our buffer
# Result should start with: 94 21 E0 00 7C 3F 0B 78 3D 20 1D D7 61 29 B8 14
dd if=./bin/findcode532.bin of=./bin/findcode532.bin bs=4 obs=4 skip=5 count=1 conv=notrunc
1+0 records in
1+0 records out
4 bytes (4 B) copied, 0.00972294 s, 0.4 kB/s
dd if=./bin/findcode532.bin of=./bin/findcode532.bin bs=4 obs=4 skip=4 seek=1 count=1 conv=notrunc
1+0 records in
1+0 records out
4 bytes (4 B) copied, 0.00860085 s, 0.5 kB/s
dd if=./bin/findcode532.bin of=./bin/findcode532.bin bs=4 obs=4 skip=6 seek=2 conv=notrunc
96+1 records in
96+1 records out
387 bytes (387 B) copied, 0.00929586 s, 41.6 kB/s
dd if=./bin/findcode532.bin of=./bin/stack532.bin obs=876 seek=1 conv=notrunc
0+1 records in
0+1 records out
411 bytes (411 B) copied, 0.0083952 s, 49.0 kB/s
# Build findcode
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=500+ ./src/findcode500.c
#-Wa,-a,-ad
cp -r ./findcode500.o ./bin
rm ./findcode500.o
powerpc-eabi-ld -Ttext 1800000 --oformat binary -o ./bin/findcode500.bin ./bin/findcode500.o
D:\devkitPro\devkitPPC\bin\powerpc-eabi-ld.exe: warning: cannot find entry symbol _start; defaulting to 01800000
# Get rid of GCC function prologue and move stack out of our buffer
# Result should start with: 94 21 E0 00 7C 3F 0B 78 3D 20 1D D7 61 29 B8 14
dd if=./bin/findcode500.bin of=./bin/findcode500.bin bs=4 obs=4 skip=5 count=1 conv=notrunc
1+0 records in
1+0 records out
4 bytes (4 B) copied, 0.0085424 s, 0.5 kB/s
dd if=./bin/findcode500.bin of=./bin/findcode500.bin bs=4 obs=4 skip=4 seek=1 count=1 conv=notrunc
1+0 records in
1+0 records out
4 bytes (4 B) copied, 0.00782221 s, 0.5 kB/s
dd if=./bin/findcode500.bin of=./bin/findcode500.bin bs=4 obs=4 skip=6 seek=2 conv=notrunc
48+0 records in
48+0 records out
192 bytes (192 B) copied, 0.00856458 s, 22.4 kB/s
dd if=./bin/findcode500.bin of=./bin/stack500.bin obs=432 seek=1 conv=notrunc
0+1 records in
0+1 records out
216 bytes (216 B) copied, 0.00793954 s, 27.2 kB/s
# Build findcode
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=410+ ./src/findcode410.c
#-Wa,-a,-ad
cp -r ./findcode410.o ./bin
rm ./findcode410.o
powerpc-eabi-ld -Ttext 1800000 --oformat binary -o ./bin/findcode410.bin ./bin/findcode410.o
D:\devkitPro\devkitPPC\bin\powerpc-eabi-ld.exe: warning: cannot find entry symbol _start; defaulting to 01800000
# Get rid of GCC function prologue and move stack out of our buffer
# Result should start with: 94 21 E0 00 7C 3F 0B 78 3D 20 1D D7 61 29 B8 14
dd if=./bin/findcode410.bin of=./bin/findcode410.bin bs=4 obs=4 skip=5 count=1 conv=notrunc
1+0 records in
1+0 records out
4 bytes (4 B) copied, 0.007806 s, 0.5 kB/s
dd if=./bin/findcode410.bin of=./bin/findcode410.bin bs=4 obs=4 skip=4 seek=1 count=1 conv=notrunc
1+0 records in
1+0 records out
4 bytes (4 B) copied, 0.00828172 s, 0.5 kB/s
dd if=./bin/findcode410.bin of=./bin/findcode410.bin bs=4 obs=4 skip=6 seek=2 conv=notrunc
48+0 records in
48+0 records out
192 bytes (192 B) copied, 0.00817847 s, 23.5 kB/s
dd if=./bin/findcode410.bin of=./bin/stack410.bin obs=432 seek=1 conv=notrunc
0+1 records in
0+1 records out
216 bytes (216 B) copied, 0.00832822 s, 25.9 kB/s
# Build findcode
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=400+ ./src/findcode400.c
#-Wa,-a,-ad
cp -r ./findcode400.o ./bin
rm ./findcode400.o
powerpc-eabi-ld -Ttext 1800000 --oformat binary -o ./bin/findcode400.bin ./bin/findcode400.o
D:\devkitPro\devkitPPC\bin\powerpc-eabi-ld.exe: warning: cannot find entry symbol _start; defaulting to 01800000
# Get rid of GCC function prologue and move stack out of our buffer
# Result should start with: 94 21 E0 00 7C 3F 0B 78 3D 20 1D D7 61 29 B8 14
dd if=./bin/findcode400.bin of=./bin/findcode400.bin bs=4 obs=4 skip=5 count=1 conv=notrunc
1+0 records in
1+0 records out
4 bytes (4 B) copied, 0.00843019 s, 0.5 kB/s
dd if=./bin/findcode400.bin of=./bin/findcode400.bin bs=4 obs=4 skip=4 seek=1 count=1 conv=notrunc
1+0 records in
1+0 records out
4 bytes (4 B) copied, 0.00825996 s, 0.5 kB/s
dd if=./bin/findcode400.bin of=./bin/findcode400.bin bs=4 obs=4 skip=6 seek=2 conv=notrunc
77+1 records in
77+1 records out
310 bytes (310 B) copied, 0.00877023 s, 35.3 kB/s
#Different on 400
dd if=./bin/findcode400.bin of=./bin/stack400.bin obs=352 seek=1 conv=notrunc
0+1 records in
0+1 records out
334 bytes (334 B) copied, 0.0083103 s, 40.2 kB/s
# Build findcode
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=310+ ./src/findcode310.c
#-Wa,-a,-ad
cp -r ./findcode310.o ./bin
rm ./findcode310.o
powerpc-eabi-ld -Ttext 1800000 --oformat binary -o ./bin/findcode310.bin ./bin/findcode310.o
D:\devkitPro\devkitPPC\bin\powerpc-eabi-ld.exe: warning: cannot find entry symbol _start; defaulting to 01800000
# Get rid of GCC function prologue and move stack out of our buffer
# Result should start with: 94 21 E0 00 7C 3F 0B 78 3D 20 1D D7 61 29 B8 14
dd if=./bin/findcode310.bin of=./bin/findcode310.bin bs=4 obs=4 skip=5 count=1 conv=notrunc
1+0 records in
1+0 records out
4 bytes (4 B) copied, 0.0084383 s, 0.5 kB/s
dd if=./bin/findcode310.bin of=./bin/findcode310.bin bs=4 obs=4 skip=4 seek=1 count=1 conv=notrunc
1+0 records in
1+0 records out
4 bytes (4 B) copied, 0.00786104 s, 0.5 kB/s
dd if=./bin/findcode310.bin of=./bin/findcode310.bin bs=4 obs=4 skip=6 seek=2 conv=notrunc
66+0 records in
66+0 records out
264 bytes (264 B) copied, 0.0098663 s, 26.8 kB/s
dd if=./bin/findcode310.bin of=./bin/stack310.bin obs=352 seek=1 conv=notrunc
0+1 records in
0+1 records out
288 bytes (288 B) copied, 0.00807479 s, 35.7 kB/s
# Build findcode
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=300+ ./src/findcode300.c
#-Wa,-a,-ad
cp -r ./findcode300.o ./bin
rm ./findcode300.o
powerpc-eabi-ld -Ttext 1800000 --oformat binary -o ./bin/findcode300.bin ./bin/findcode300.o
D:\devkitPro\devkitPPC\bin\powerpc-eabi-ld.exe: warning: cannot find entry symbol _start; defaulting to 01800000
# Get rid of GCC function prologue and move stack out of our buffer
# Result should start with: 94 21 E0 00 7C 3F 0B 78 3D 20 1D D7 61 29 B8 14
dd if=./bin/findcode300.bin of=./bin/findcode300.bin bs=4 obs=4 skip=5 count=1 conv=notrunc
1+0 records in
1+0 records out
4 bytes (4 B) copied, 0.00813281 s, 0.5 kB/s
dd if=./bin/findcode300.bin of=./bin/findcode300.bin bs=4 obs=4 skip=4 seek=1 count=1 conv=notrunc
1+0 records in
1+0 records out
4 bytes (4 B) copied, 0.00832011 s, 0.5 kB/s
dd if=./bin/findcode300.bin of=./bin/findcode300.bin bs=4 obs=4 skip=6 seek=2 conv=notrunc
66+0 records in
66+0 records out
264 bytes (264 B) copied, 0.00826465 s, 31.9 kB/s
dd if=./bin/findcode300.bin of=./bin/stack300.bin obs=352 seek=1 conv=notrunc
0+1 records in
0+1 records out
288 bytes (288 B) copied, 0.00854325 s, 33.7 kB/s
# Build findcode
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=210+ ./src/findcode210.c
#-Wa,-a,-ad
cp -r ./findcode210.o ./bin
rm ./findcode210.o
powerpc-eabi-ld -Ttext 1800000 --oformat binary -o ./bin/findcode210.bin ./bin/findcode210.o
D:\devkitPro\devkitPPC\bin\powerpc-eabi-ld.exe: warning: cannot find entry symbol _start; defaulting to 01800000
# Get rid of GCC function prologue and move stack out of our buffer
# Result should start with: 94 21 E0 00 7C 3F 0B 78 3D 20 1D D7 61 29 B8 14
dd if=./bin/findcode210.bin of=./bin/findcode210.bin bs=4 obs=4 skip=5 count=1 conv=notrunc
1+0 records in
1+0 records out
4 bytes (4 B) copied, 0.00841568 s, 0.5 kB/s
dd if=./bin/findcode210.bin of=./bin/findcode210.bin bs=4 obs=4 skip=4 seek=1 count=1 conv=notrunc
1+0 records in
1+0 records out
4 bytes (4 B) copied, 0.00888244 s, 0.5 kB/s
dd if=./bin/findcode210.bin of=./bin/findcode210.bin bs=4 obs=4 skip=6 seek=2 conv=notrunc
66+0 records in
66+0 records out
264 bytes (264 B) copied, 0.00966406 s, 27.3 kB/s
dd if=./bin/findcode210.bin of=./bin/stack210.bin obs=352 seek=1 conv=notrunc
0+1 records in
0+1 records out
288 bytes (288 B) copied, 0.00868447 s, 33.2 kB/s
# Build findcode
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=200+ ./src/findcode200.c
#-Wa,-a,-ad
cp -r ./findcode200.o ./bin
rm ./findcode200.o
powerpc-eabi-ld -Ttext 1800000 --oformat binary -o ./bin/findcode200.bin ./bin/findcode200.o
D:\devkitPro\devkitPPC\bin\powerpc-eabi-ld.exe: warning: cannot find entry symbol _start; defaulting to 01800000
# Get rid of GCC function prologue and move stack out of our buffer
# Result should start with: 94 21 E0 00 7C 3F 0B 78 3D 20 1D D7 61 29 B8 14
dd if=./bin/findcode200.bin of=./bin/findcode200.bin bs=4 obs=4 skip=5 count=1 conv=notrunc
1+0 records in
1+0 records out
4 bytes (4 B) copied, 0.00800354 s, 0.5 kB/s
dd if=./bin/findcode200.bin of=./bin/findcode200.bin bs=4 obs=4 skip=4 seek=1 count=1 conv=notrunc
1+0 records in
1+0 records out
4 bytes (4 B) copied, 0.0083231 s, 0.5 kB/s
dd if=./bin/findcode200.bin of=./bin/findcode200.bin bs=4 obs=4 skip=6 seek=2 conv=notrunc
66+0 records in
66+0 records out
264 bytes (264 B) copied, 0.0091171 s, 29.0 kB/s
dd if=./bin/findcode200.bin of=./bin/stack200.bin obs=352 seek=1 conv=notrunc
0+1 records in
0+1 records out
288 bytes (288 B) copied, 0.00829707 s, 34.7 kB/s
mkdir -p ./bin/532/
mkdir -p ./bin/500/
mkdir -p ./bin/410/
mkdir -p ./bin/400/
mkdir -p ./bin/310/
mkdir -p ./bin/300/
mkdir -p ./bin/210/
mkdir -p ./bin/200/
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=532 ./src/*.c
#-Wa,-a,-ad
cp -r ./*.o ./bin/532
rm ./*.o
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=500 ./src/*.c
#-Wa,-a,-ad
cp -r ./*.o ./bin/500
rm ./*.o
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=410 ./src/*.c
#-Wa,-a,-ad
cp -r ./*.o ./bin/410
rm ./*.o
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=400 ./src/*.c
#-Wa,-a,-ad
cp -r ./*.o ./bin/400
rm ./*.o
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=310 ./src/*.c
#-Wa,-a,-ad
cp -r ./*.o ./bin/310
rm ./*.o
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=300 ./src/*.c
#-Wa,-a,-ad
cp -r ./*.o ./bin/300
rm ./*.o
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=210 ./src/*.c
#-Wa,-a,-ad
cp -r ./*.o ./bin/210
rm ./*.o
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=200 ./src/*.c
#-Wa,-a,-ad
cp -r ./*.o ./bin/200
rm ./*.o
mkdir -p ./bin/
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=532 src/*.c
src/loader.c: In function 'start':
src/loader.c:55:3: warning: passing argument 1 of 'kern_write' makes pointer from integer without a cast [enabled by default]
kern_write(KERN_ADDRESS_TBL + (0x12 * 4), 0x00000000);
^
In file included from src/loader.c:1:0:
src/loader.h:34:6: note: expected 'void *' but argument is of type 'unsigned int'
void kern_write(void *addr, uint32_t value);
^
src/loader.c:56:3: warning: passing argument 1 of 'kern_write' makes pointer from integer without a cast [enabled by default]
kern_write(KERN_ADDRESS_TBL + (0x13 * 4), 0x14000000);
^
In file included from src/loader.c:1:0:
src/loader.h:34:6: note: expected 'void *' but argument is of type 'unsigned int'
void kern_write(void *addr, uint32_t value);
^
#-Wa,-a,-ad
cp -r ./*.o ./bin
rm ./*.o
powerpc-eabi-ld -Ttext 1800000 --oformat binary -o ./bin/code532.bin ./bin/loader.o ./../../libwiiu/bin/532/*.o `find ./bin -name "*.o" ! -name "loader.o"`
D:\devkitPro\devkitPPC\bin\powerpc-eabi-ld.exe: warning: cannot find entry symbol _start; defaulting to 01800000
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=500 src/*.c
src/loader.c: In function 'start':
src/loader.c:55:3: warning: passing argument 1 of 'kern_write' makes pointer from integer without a cast [enabled by default]
kern_write(KERN_ADDRESS_TBL + (0x12 * 4), 0x00000000);
^
In file included from src/loader.c:1:0:
src/loader.h:34:6: note: expected 'void *' but argument is of type 'unsigned int'
void kern_write(void *addr, uint32_t value);
^
src/loader.c:56:3: warning: passing argument 1 of 'kern_write' makes pointer from integer without a cast [enabled by default]
kern_write(KERN_ADDRESS_TBL + (0x13 * 4), 0x14000000);
^
In file included from src/loader.c:1:0:
src/loader.h:34:6: note: expected 'void *' but argument is of type 'unsigned int'
void kern_write(void *addr, uint32_t value);
^
#-Wa,-a,-ad
cp -r ./*.o ./bin
rm ./*.o
powerpc-eabi-ld -Ttext 1800000 --oformat binary -o ./bin/code500.bin ./bin/loader.o ./../../libwiiu/bin/500/*.o `find ./bin -name "*.o" ! -name "loader.o"`
D:\devkitPro\devkitPPC\bin\powerpc-eabi-ld.exe: warning: cannot find entry symbol _start; defaulting to 01800000
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=410 src/*.c
src/loader.c: In function 'start':
src/loader.c:55:3: warning: passing argument 1 of 'kern_write' makes pointer from integer without a cast [enabled by default]
kern_write(KERN_ADDRESS_TBL + (0x12 * 4), 0x00000000);
^
In file included from src/loader.c:1:0:
src/loader.h:34:6: note: expected 'void *' but argument is of type 'unsigned int'
void kern_write(void *addr, uint32_t value);
^
src/loader.c:56:3: warning: passing argument 1 of 'kern_write' makes pointer from integer without a cast [enabled by default]
kern_write(KERN_ADDRESS_TBL + (0x13 * 4), 0x14000000);
^
In file included from src/loader.c:1:0:
src/loader.h:34:6: note: expected 'void *' but argument is of type 'unsigned int'
void kern_write(void *addr, uint32_t value);
^
#-Wa,-a,-ad
cp -r ./*.o ./bin
rm ./*.o
powerpc-eabi-ld -Ttext 1800000 --oformat binary -o ./bin/code410.bin ./bin/loader.o ./../../libwiiu/bin/410/*.o `find ./bin -name "*.o" ! -name "loader.o"`
D:\devkitPro\devkitPPC\bin\powerpc-eabi-ld.exe: warning: cannot find entry symbol _start; defaulting to 01800000
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=400 src/*.c
src/loader.c: In function 'start':
src/loader.c:55:3: warning: passing argument 1 of 'kern_write' makes pointer from integer without a cast [enabled by default]
kern_write(KERN_ADDRESS_TBL + (0x12 * 4), 0x00000000);
^
In file included from src/loader.c:1:0:
src/loader.h:34:6: note: expected 'void *' but argument is of type 'int'
void kern_write(void *addr, uint32_t value);
^
src/loader.c:56:3: warning: passing argument 1 of 'kern_write' makes pointer from integer without a cast [enabled by default]
kern_write(KERN_ADDRESS_TBL + (0x13 * 4), 0x14000000);
^
In file included from src/loader.c:1:0:
src/loader.h:34:6: note: expected 'void *' but argument is of type 'int'
void kern_write(void *addr, uint32_t value);
^
#-Wa,-a,-ad
cp -r ./*.o ./bin
rm ./*.o
powerpc-eabi-ld -Ttext 1800000 --oformat binary -o ./bin/code400.bin ./bin/loader.o ./../../libwiiu/bin/400/*.o `find ./bin -name "*.o" ! -name "loader.o"`
D:\devkitPro\devkitPPC\bin\powerpc-eabi-ld.exe: warning: cannot find entry symbol _start; defaulting to 01800000
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=310 src/*.c
src/loader.c: In function 'start':
src/loader.c:55:3: warning: passing argument 1 of 'kern_write' makes pointer from integer without a cast [enabled by default]
kern_write(KERN_ADDRESS_TBL + (0x12 * 4), 0x00000000);
^
In file included from src/loader.c:1:0:
src/loader.h:34:6: note: expected 'void *' but argument is of type 'int'
void kern_write(void *addr, uint32_t value);
^
src/loader.c:56:3: warning: passing argument 1 of 'kern_write' makes pointer from integer without a cast [enabled by default]
kern_write(KERN_ADDRESS_TBL + (0x13 * 4), 0x14000000);
^
In file included from src/loader.c:1:0:
src/loader.h:34:6: note: expected 'void *' but argument is of type 'int'
void kern_write(void *addr, uint32_t value);
^
#-Wa,-a,-ad
cp -r ./*.o ./bin
rm ./*.o
powerpc-eabi-ld -Ttext 1800000 --oformat binary -o ./bin/code310.bin ./bin/loader.o ./../../libwiiu/bin/310/*.o `find ./bin -name "*.o" ! -name "loader.o"`
D:\devkitPro\devkitPPC\bin\powerpc-eabi-ld.exe: warning: cannot find entry symbol _start; defaulting to 01800000
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=300 src/*.c
src/loader.c: In function 'start':
src/loader.c:55:3: warning: passing argument 1 of 'kern_write' makes pointer from integer without a cast [enabled by default]
kern_write(KERN_ADDRESS_TBL + (0x12 * 4), 0x00000000);
^
In file included from src/loader.c:1:0:
src/loader.h:34:6: note: expected 'void *' but argument is of type 'unsigned int'
void kern_write(void *addr, uint32_t value);
^
src/loader.c:56:3: warning: passing argument 1 of 'kern_write' makes pointer from integer without a cast [enabled by default]
kern_write(KERN_ADDRESS_TBL + (0x13 * 4), 0x14000000);
^
In file included from src/loader.c:1:0:
src/loader.h:34:6: note: expected 'void *' but argument is of type 'unsigned int'
void kern_write(void *addr, uint32_t value);
^
#-Wa,-a,-ad
cp -r ./*.o ./bin
rm ./*.o
powerpc-eabi-ld -Ttext 1800000 --oformat binary -o ./bin/code300.bin ./bin/loader.o ./../../libwiiu/bin/300/*.o `find ./bin -name "*.o" ! -name "loader.o"`
D:\devkitPro\devkitPPC\bin\powerpc-eabi-ld.exe: warning: cannot find entry symbol _start; defaulting to 01800000
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=210 src/*.c
src/loader.c: In function 'start':
src/loader.c:55:3: warning: passing argument 1 of 'kern_write' makes pointer from integer without a cast [enabled by default]
kern_write(KERN_ADDRESS_TBL + (0x12 * 4), 0x00000000);
^
In file included from src/loader.c:1:0:
src/loader.h:34:6: note: expected 'void *' but argument is of type 'int'
void kern_write(void *addr, uint32_t value);
^
src/loader.c:56:3: warning: passing argument 1 of 'kern_write' makes pointer from integer without a cast [enabled by default]
kern_write(KERN_ADDRESS_TBL + (0x13 * 4), 0x14000000);
^
In file included from src/loader.c:1:0:
src/loader.h:34:6: note: expected 'void *' but argument is of type 'int'
void kern_write(void *addr, uint32_t value);
^
#-Wa,-a,-ad
cp -r ./*.o ./bin
rm ./*.o
powerpc-eabi-ld -Ttext 1800000 --oformat binary -o ./bin/code210.bin ./bin/loader.o ./../../libwiiu/bin/210/*.o `find ./bin -name "*.o" ! -name "loader.o"`
D:\devkitPro\devkitPPC\bin\powerpc-eabi-ld.exe: warning: cannot find entry symbol _start; defaulting to 01800000
powerpc-eabi-gcc -nostdinc -fno-builtin -c -DVER=200 src/*.c
src/loader.c: In function 'start':
src/loader.c:55:3: warning: passing argument 1 of 'kern_write' makes pointer from integer without a cast [enabled by default]
kern_write(KERN_ADDRESS_TBL + (0x12 * 4), 0x00000000);
^
In file included from src/loader.c:1:0:
src/loader.h:34:6: note: expected 'void *' but argument is of type 'int'
void kern_write(void *addr, uint32_t value);
^
src/loader.c:56:3: warning: passing argument 1 of 'kern_write' makes pointer from integer without a cast [enabled by default]
kern_write(KERN_ADDRESS_TBL + (0x13 * 4), 0x14000000);
^
In file included from src/loader.c:1:0:
src/loader.h:34:6: note: expected 'void *' but argument is of type 'int'
void kern_write(void *addr, uint32_t value);
^
#-Wa,-a,-ad
cp -r ./*.o ./bin
rm ./*.o
powerpc-eabi-ld -Ttext 1800000 --oformat binary -o ./bin/code200.bin ./bin/loader.o ./../../libwiiu/bin/200/*.o `find ./bin -name "*.o" ! -name "loader.o"`
D:\devkitPro\devkitPPC\bin\powerpc-eabi-ld.exe: warning: cannot find entry symbol _start; defaulting to 01800000