Last active
September 30, 2016 17:15
-
-
Save psxdev/d83283567d140a07ade33e47c5b8cc79 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Test with new toolchain GCC 6.2.0 and binutils 2.27 with last patched applied from git://sourceware.org/git/binutils-gdb.git and patch for . = ALIGN(0x10000); | |
cd libvita2d/ | |
cd sample/ | |
make clean | |
make | |
arm-vita-eabi-gcc -Wl,-q -Wall -O3 -c -o main.o main.c | |
arm-vita-eabi-ld -r -b binary -o image.o image.png | |
arm-vita-eabi-gcc -Wl,-q -Wall -O3 main.o image.o -lvita2d -lSceKernel_stub -lSceDisplay_stub -lSceGxm_stub -lSceSysmodule_stub -lSceCtrl_stub -lScePgf_stub -lSceCommonDialog_stub -lfreetype -lpng -ljpeg -lz -lm -lc -o vita2dsample.elf | |
vita-elf-create vita2dsample.elf vita2dsample.velf | |
vita-make-fself -s vita2dsample.velf eboot.bin | |
vita-mksfoex -s TITLE_ID=VITA2DTST "vita2dsample" param.sfo | |
vita-pack-vpk -s param.sfo -b eboot.bin vita2dsample.vpk | |
Testing in vita OK | |
--------------------------------- | |
cd vitasdk_poc/ | |
make clean | |
rm -f poc.velf poc.elf unwind-4.o | |
make | |
arm-vita-eabi-as -o unwind-4.o unwind-4.s | |
arm-vita-eabi-gcc -Wl,-q unwind-4.o -o poc.elf | |
vita-elf-create poc.elf poc.velf | |
ls -l | |
total 400 | |
-rw-r--r-- 1 bigboss staff 260 30 sep 15:55 Makefile | |
-rwxr-xr-x 1 bigboss staff 89008 30 sep 19:14 poc.elf | |
-rw-r--r-- 1 bigboss staff 98574 30 sep 19:14 poc.velf | |
-rw-r--r-- 1 bigboss staff 1856 30 sep 19:14 unwind-4.o | |
-rw-r--r-- 1 bigboss staff 827 30 sep 15:55 unwind-4.s | |
It is fixed :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment