Page 1 of 2

Unofficial VitaSDK pre-built

Posted: Wed Sep 09, 2015 8:15 am
by cheeyee09
Many devs are switching to the VitaSDK, but there is no pre-built release of it floating on the internet. After searching the net with no results, I decided to build it myself. I followed the buildscripts instructions provided by xyzz github https://github.com/xyzz/vitasdk-buildscripts and after many many hours here are the results. There are 2 version for win32 for use with MingW and another for linux.

Also included a build of realboy-vita elf that I built with this toolchain. The elf was only tested on Rejuvenate 0.3.3 and PSM Unity 1.05.

Since I built this with ubuntu 8.10, I am not sure if the linux version will run on any Ubuntu release greater than 8.10.

Here is the win32 version. (Updated on 2015-11-11)
https://mega.nz/#!yJUVRSDI!EhcZUBxzk_TT ... mmHGev0pns

Here is the Linux 32bit version. (Updated on 2015-11-11)
https://mega.nz/#!jVNX0RwA!caWWgMxmyUSp ... 8ODGbI7DEw

Update:
Added link to Ubuntu 8.10 32Bit Virtual Disk that I used to compile the toolchain. The VDI was create with VirtualBox 5.0.0r101573.

https://mega.nz/#!zBVTxByY!QfyGkytmJLY7 ... -fhHkbkGNw

The username is "rejuvenate" and password for both user and root is "password".

To build the toolchain go into the directory /home/rejuvenate/vitasdk/vitasdk-buildscripts and type "./build.sh". Results will be in the "pkg" directory. The build.sh pulls all the new updates from the various github repo before building so end result should be latest version. Since the git repo's are continuous being updated, the build.sh may fail one day and need update.

Following repos are being used in the build.sh

https://github.com/xyzz/vitasdk-buildscripts
https://github.com/vitasdk/vita-toolchain.git
https://github.com/vitasdk/vita-headers.git
https://github.com/xyzz/vita-newlib.git


Update 2015-09-23 :
The original setup to build the toolchain in the VM has become obsolete since the git-repos for vitasdk-buildscripts and vita-newlib have moved. I have recreated the environment based on the new git-repos. Dowload the following file and unzip into the "/home/rejuvenate/vitasdk" folder. Then run "build.sh in the new "buildscripts" folder. You can delete the old folder "vitasdk-buildscirpts".

Link to new buildscripts setup.
https://mega.nz/#!bEVx1azb!4V8LrcXFXZO- ... T7gCW5GlaY

New git-repos
https://github.com/vitasdk/buildscripts.git
https://github.com/vitasdk/newlib.git

Prebuilts from frangarcj (x64 linux and MacOS) (Updated 9/25/2015 - Now includes all these platforms win32, linux 32, linux 64, MacOs). These builds are a bit behind now. Hope frangarcj updates them soon
https://github.com/frangarcj/vitasdk-bu ... s/releases

Prebuilts of vita2dlib and vita_portlibs from frangarcj
https://github.com/frangarcj/vitasdk-ex ... s/releases

Re: Unofficial VitaSDK pre-built

Posted: Sat Sep 12, 2015 3:01 pm
by Joel16
Thanks, is there instructions on building for windows?

Re: Unofficial VitaSDK pre-built

Posted: Sat Sep 12, 2015 3:45 pm
by haxxey
cheeyee09 wrote:Since I built this with ubuntu 8.10
but why

Re: Unofficial VitaSDK pre-built

Posted: Sat Sep 12, 2015 6:44 pm
by cheeyee09
sauske_firekid wrote:Thanks, is there instructions on building for windows?
This builds both the linux and win32 version (thru cross-compile). You'll get both versions in the pkg.

Re: Unofficial VitaSDK pre-built

Posted: Sat Sep 12, 2015 6:46 pm
by cheeyee09
Wolfmade wrote:
cheeyee09 wrote:Since I built this with ubuntu 8.10
but why
Just following instructions from the "How to build Toolchain.pdf" from the arm embedded website. There are some prebuilt tool binaries that probably only work on 8.10.

If you don't care about building the toolchain and just want to use it, here is a Tutorial from user "Beatnukem" on how to use it in newer Ubuntu releases. I believe he prebuilt the toolchain himself and didn't use this.

viewtopic.php?f=113&t=44212

Re: Unofficial VitaSDK pre-built

Posted: Tue Sep 22, 2015 7:27 am
by cheeyee09
Updated with new builds on 2015-09-21. Links updated on 1st Post.

Change log
new-lib
161dd36 Implement _gettimeofday_r
8b68730 (Vita) Add user-defined heap size
f88157d exit now calls uvl_exit.
57f4136 Renames uvl_write to uvl_log_write.
3d792ab Adds a call to uvl_write for handling STDIN, STDOUT, and STDERR.
d456455 Call __libc_init_array in Vita crt0.c

vita-headers
7c74fc7 Removes sceIoChdir since it doesn't exist on the Vita.
bdc77b2 rename common_api.h to common_dialog.h
12ade65 fix typo
80e9c73 Added missing license
c59704b Add MsgDialog headers

Re: Unofficial VitaSDK pre-built

Posted: Tue Sep 22, 2015 5:33 pm
by DS_Marine
Great work.
When I have to compile sdk stuff, it always gets messy and I think...these 10 hours fixing stuff I could have used for coding. Still, you always come up wiser, but sometimes you just don't have the time for getting wiser .D
Having the working VM is a big win, thanks.

Re: Unofficial VitaSDK pre-built

Posted: Tue Sep 22, 2015 10:38 pm
by cheeyee09
The original git that come with Ubuntu 8.10 is pretty old and doesn't work.

I compile git 2.5.0 and installed to a user location /home/rejuvenate/apps. Unfortunately, you can't use it with http:// prefix. You have to use with git:// prefix. To compile git with http: support I had to compile a few other libs which I didn't do.

Example for vita-toolchain. The url is https://github.com/vitasdk/vita-toolchain.git. Replace https with git

git clone git://github.com/vitasdk/vita-toolchain.git

Re: Unofficial VitaSDK pre-built

Posted: Tue Sep 22, 2015 10:56 pm
by frangarcj
Can someone test this unnoficial releases on ubuntu less than 12 precise?

https://github.com/frangarcj/vitasdk-bu ... s/releases

Thanks

Re: Unofficial VitaSDK pre-built

Posted: Tue Sep 22, 2015 11:14 pm
by cheeyee09
Good to see prebuilts being officially added now. I guess win32 versions coming soon.

Seeing official prebuilts being created. I can stop this thread. I've leave the links to the VM up.