Win32 native Toolchain for PSPSDK

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
hlide
Posts: 739
Joined: Sun Sep 10, 2006 2:31 am

Post by hlide »

Is there a pretty chance to add psp-insight (psp-debug GUI) ?
Heimdall
Posts: 245
Joined: Thu Nov 10, 2005 1:29 am
Location: Netherlands
Contact:

Post by Heimdall »

Well... i've to study the existing patches and how can i integrate then with gcc 4.3.1. Since i'm using eclipse gdb is all i need to debug since eclipse will give me the graphical breakpoints and var/mem inspection. I'll see what i can do but i cannot say i'll add it on the next release. Maybe i'll try to make a nice tutorial about the gdb and the eclipse debugger ;)

Anyway I'll take a look into insight...
hlide
Posts: 739
Joined: Sun Sep 10, 2006 2:31 am

Post by hlide »

Heimdall wrote:Well... i've to study the existing patches and how can i integrate then with gcc 4.3.1. Since i'm using eclipse gdb is all i need to debug since eclipse will give me the graphical breakpoints and var/mem inspection. I'll see what i can do but i cannot say i'll add it on the next release. Maybe i'll try to make a nice tutorial about the gdb and the eclipse debugger ;)

Anyway I'll take a look into insight...
well I'm using Code::Block for a multi-platform project, but it doesn't seem to cope very well with psp-gdb. So I was wondering if psp-insight would work so I can use it to debug through psplink whatever the RAD I use (VS 2008 or Code::Block).
hlide
Posts: 739
Joined: Sun Sep 10, 2006 2:31 am

Post by hlide »

Heimdall, can you take this solution posted in http://forums.ps2dev.org/viewtopic.php?p=72235#72235 into account in your pspsdk binaries ? psplink was unable to allocate more than 32 MB without this modification in boot271 Makefile.
Heimdall
Posts: 245
Joined: Thu Nov 10, 2005 1:29 am
Location: Netherlands
Contact:

Post by Heimdall »

I'll take a look, i've been updating the pspsh and usbhostfs_pc apps to use readline and ncurses (still with the cygwin dll) I'll look at that thread and try to make a build before going on vacation tomorrow. If i manage to get it working I'll uploaded under the experimental area since i won't have time to test everything
Heimdall
Posts: 245
Joined: Thu Nov 10, 2005 1:29 am
Location: Netherlands
Contact:

Post by Heimdall »

https://sourceforge.net/project/showfil ... _id=615408

0.8.5 includes the latest SDK and updated PSPLINK with the makefile patch
KickinAezz
Posts: 328
Joined: Sun Jun 03, 2007 10:05 pm

Post by KickinAezz »

Heimdall wrote:https://sourceforge.net/project/showfil ... _id=615408

0.8.5 includes the latest SDK and updated PSPLINK with the makefile patch
Is this ALSO for VISTA?

Or should I continue with 0.8.2-vista?


--

EDIT: I missed the post that said every single build is now compatible
Intrigued by PSP system Since December 2006.
Use it more for Development than for Gaming.
KickinAezz
Posts: 328
Joined: Sun Jun 03, 2007 10:05 pm

Post by KickinAezz »

How can I resolve

"Multiple target patters. Stop" error. Any idea?

I have cygwin (just setup recently) and this.

It points to build.mak line 177.
C:/PSPSDK/psp/sdk/lib/build.mak:177: *** multiple target patterns. Stop.
Intrigued by PSP system Since December 2006.
Use it more for Development than for Gaming.
GORETHRASHER
Posts: 12
Joined: Wed Sep 10, 2008 12:28 pm

WoW

Post by GORETHRASHER »

Wow, this has made everything so much easier for me and anyone else getting into psp homebrew.

Thanks so much for putting the time into this project.
Heimdall
Posts: 245
Joined: Thu Nov 10, 2005 1:29 am
Location: Netherlands
Contact:

Post by Heimdall »

The latest builds are for XP or Vista. The old Vista package was my first build that i tested under that OS because i do all the patching and building under XP so Vista is not tested thoroughly, I just install and build the samples and assume it should work because the binaries are equal to the XP ones.

About the multiple target i think it's because my build and cygwin are both in your path and conflicting with eachother
Noko
Posts: 23
Joined: Sat Sep 06, 2008 8:35 pm

Post by Noko »

KickinAezz: spaces in directory names?
molusca
Posts: 3
Joined: Sat Sep 13, 2008 11:23 am

gprof

Post by molusca »

@heimdall

can you add gprof in next release ? great work btw,save the hastle :)
KickinAezz
Posts: 328
Joined: Sun Jun 03, 2007 10:05 pm

Post by KickinAezz »

Noko wrote:KickinAezz: spaces in directory names?
Fixed by reinstall :)
Intrigued by PSP system Since December 2006.
Use it more for Development than for Gaming.
Heimdall
Posts: 245
Joined: Thu Nov 10, 2005 1:29 am
Location: Netherlands
Contact:

Post by Heimdall »

@molusca gprof is included see the gprof sample in the sdk debug samples. Because the loading of eboots are a bit different from usual win32/linux/etc... apps you need to add some extra code that you might enable with a pre processor #ifdef statement...
Heimdall
Posts: 245
Joined: Thu Nov 10, 2005 1:29 am
Location: Netherlands
Contact:

Post by Heimdall »

Updated the SDK 0.8.7

This version includes the latest SVN and GCC 4.3.2. I also rewrote the toolchain script because I totally messed up my Msys/MinGW installation and couldn't build the SDK anymore.

Now the doc contains all the packages i used to get the environment back to stable.
Heimdall
Posts: 245
Joined: Thu Nov 10, 2005 1:29 am
Location: Netherlands
Contact:

Post by Heimdall »

Release 0.8.9 is out:

* Objective-C and Objective-C++ support
* clean up the docs
* better build environment

https://sourceforge.net/project/showfil ... _id=633156
phobox
Posts: 127
Joined: Mon Mar 24, 2008 6:22 pm

Post by phobox »

with the last release 0.8.9
ha get this error (win vista)
psp-gcc: CreateProcess: No such file or directory
Heimdall
Posts: 245
Joined: Thu Nov 10, 2005 1:29 am
Location: Netherlands
Contact:

Post by Heimdall »

can you check if the SDK is in your path? open a DOS console and type psp-gcc --version

and check if you get:

psp-gcc (GCC) 4.3.2
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Kreationz
Posts: 52
Joined: Sun May 18, 2008 11:01 am

Post by Kreationz »

Just want to say thanks again Heimdall!! I look forward to future releases... no if only I can fix my png code problem...

P.S. I posted a guide to using it with VCEE on DaedalusX64.com from scratch to compiling the released Daedalus R13 code.
jojojoris
Posts: 255
Joined: Sun Mar 30, 2008 4:06 am

Post by jojojoris »

Can you make a installer that installs all the devpacks and the toolchain at once.
Just for lazy programmers like me. Also becouse sourceforge can be pritty anoying when you download a lot of files.
angelo
Posts: 168
Joined: Wed Aug 29, 2007 9:34 pm

Post by angelo »

I'll second that... it makes it easier for so many devs and keeps the forums cleaner. ;)
Heimdall
Posts: 245
Joined: Thu Nov 10, 2005 1:29 am
Location: Netherlands
Contact:

Post by Heimdall »

Yes I am aware that people do not like to download one thousand installers to get a decent dev environment :) I'm working in the way that the next release will come as usual in 2 flavors:

* base, just the compiler
* full, compiler + docs + a set of common devpaks such as SDL, pspGL and so on.
angelo
Posts: 168
Joined: Wed Aug 29, 2007 9:34 pm

Post by angelo »

Ohhh sounds delicious, but can you notify me when your compiling the PSPIRKeyBLib into it please?

The one that's in your pack is years old and is lacking many drivers and key repeats!

I tried emailing Harald, but no response, so I'm the only one onthe scene with the latest PSPIRKeyB lib!

Even ZX81 (after countless reminders and sent files) is out of date!

I won't send it now, because I'm always adding to it.

Thanks and good luck!
Heimdall
Posts: 245
Joined: Thu Nov 10, 2005 1:29 am
Location: Netherlands
Contact:

Post by Heimdall »

ok, please make sure the latest code is on ps2dev svn or else send me a patch.
jojojoris
Posts: 255
Joined: Sun Mar 30, 2008 4:06 am

Post by jojojoris »

Heimdall wrote:Yes I am aware that people do not like to download one thousand installers to get a decent dev environment :) I'm working in the way that the next release will come as usual in 2 flavors:

* base, just the compiler
* full, compiler + docs + a set of common devpaks such as SDL, pspGL and so on.
why don't you add a third flavor:
*full, compiler + docs + all devpacks you made?
angelo
Posts: 168
Joined: Wed Aug 29, 2007 9:34 pm

Post by angelo »

Heimdall wrote: * full, compiler + docs + a set of common devpaks such as SDL, pspGL and so on.
That's what he just said! lol

@Heimdall I'll send you a patch soon. I just need to find time to prepare it. Also, how would I go about posting the lib onto the svn?

Thanks

Angelo
Heimdall
Posts: 245
Joined: Thu Nov 10, 2005 1:29 am
Location: Netherlands
Contact:

Post by Heimdall »

I don't have write permissions to the ps2dev svn, if you post the patch here maybe the site admins will merge it to the SVN or i can use it during my build process
angelo
Posts: 168
Joined: Wed Aug 29, 2007 9:34 pm

Post by angelo »

Thanks I might do that!

http://forums.ps2dev.org/viewtopic.php?p=76296#76296

Have a good day!

Angelo
Heimdall
Posts: 245
Joined: Thu Nov 10, 2005 1:29 am
Location: Netherlands
Contact:

Post by Heimdall »

Ok, I'll look into it tomorrow
Heimdall
Posts: 245
Joined: Thu Nov 10, 2005 1:29 am
Location: Netherlands
Contact:

Post by Heimdall »

Ok guys and girls a new SDK version is out 0.8.10, this version contains:

Updated newlib 1.16
ObjectiveC sample now works
The Full installer comes with the following devpaks:
- zlib
- bzip2
- freetype
- jpeg
- libbulletml
- libmad
- libmikmod
- libogg
- libpng
- libpspvram
- libTremor
- libvorbis
- lua
- pspgl
- pspirkeyb
- sqlite
- SDL
- SDL_gfx
- SDL_image
- SDL_mixer
- SDL_ttf
- smpeg
- zziplib

For the next release I'll be looking into pspirkeyb 0.0.5 and pspgl/SDL tvout

As usual get it here https://sourceforge.net/project/showfil ... _id=638375
Post Reply