forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Win32 native Toolchain for PSPSDK
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
snowsquirrel



Joined: 24 Feb 2008
Posts: 51

PostPosted: Thu Apr 03, 2008 1:20 am    Post subject: Reply with quote

where?

find $PSPDEV -iname '*gdb*' gives
Code:

./doc/pspsdk/gdb-kernellib_8c.html
./doc/pspsdk/gdb-kernellib_8c__incl.map
./doc/pspsdk/gdb-kernellib_8c__incl.md5
./doc/pspsdk/gdb-kernellib_8c__incl.png
./doc/pspsdk/gdb-stub_8c.html
./doc/pspsdk/gdb-stub_8c__incl.map
./doc/pspsdk/gdb-stub_8c__incl.md5
./doc/pspsdk/gdb-stub_8c__incl.png
./doc/pspsdk/gdb-userlib_8c.html
./doc/pspsdk/gdb-userlib_8c__incl.map
./doc/pspsdk/gdb-userlib_8c__incl.md5
./doc/pspsdk/gdb-userlib_8c__incl.png
./psp/sdk/lib/libpspgdb.a
./psp/sdk/lib/libpspgdb_kernel.a
./psp/sdk/lib/libpspgdb_user.a
./psplink/psp/oe/usbgdb.prx
./psplink/psp/v1.0/psplink/usbgdb.prx
./psplink/psp/v1.5/psplink/usbgdb.prx
./psplink/psp/v1.5_nocorrupt/__SCE__psplink/usbgdb.prx


I believe I did the full install. I could try installing again....

~S
Back to top
View user's profile Send private message
snowsquirrel



Joined: 24 Feb 2008
Posts: 51

PostPosted: Thu Apr 03, 2008 1:54 am    Post subject: Reply with quote

After reinstall, same thing. Would one of the older packages have gdb?
~S
Back to top
View user's profile Send private message
Heimdall



Joined: 10 Nov 2005
Posts: 259
Location: Netherlands

PostPosted: Thu Apr 03, 2008 4:18 am    Post subject: Reply with quote

sorry man, version 0.6 0.6.1 and 0.6.2 have gdb 6.7 (psp-gdb) but it seems that 0.7 is not packing it... I'll have a look...
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
snowsquirrel



Joined: 24 Feb 2008
Posts: 51

PostPosted: Thu Apr 03, 2008 6:04 am    Post subject: Reply with quote

thanks. i'll try just pulling gdb out of one of the older packages.
Back to top
View user's profile Send private message
snowsquirrel



Joined: 24 Feb 2008
Posts: 51

PostPosted: Thu Apr 03, 2008 6:41 am    Post subject: Reply with quote

I tried out the gdb from 0.6. I get this error:
Code:

d:\psp_project1\build\staged>psp-gdb debug_game_stripped.elf
GNU gdb 6.7.1
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-pc-mingw32 --target=psp"...
(gdb) target remote localhost:10001
Remote debugging using localhost:10001
[New Thread 0]
_start (args=0, argp=0x0) at crt0_prx.c:109
109     crt0_prx.c: No such file or directory.
        in crt0_prx.c
Current language:  auto; currently c
(gdb) start
Breakpoint 1 at 0x8806024: file src/main.cpp, line 47.
Starting program: d:\other_code\home_p4\psp_project1\build\staged/debug_game_stripped.elf
Don't know how to run.  Try "help target".
(gdb)


Is this something I am doing wrong, or is an imcompatibility between 0.7 gcc/g++ and 0.6 gdb?

~S
Back to top
View user's profile Send private message
Heimdall



Joined: 10 Nov 2005
Posts: 259
Location: Netherlands

PostPosted: Thu Apr 03, 2008 5:01 pm    Post subject: Reply with quote

Hi,

I've released a new version (0.7.1) now with GDB and that make can compile correctly .S files.

From 0.6x to 0.7x there was a big jump, I've been removing my "own" patches and changed the scripts to be able to compile with minimal differences to the ps2dev.org official patches.

Fixed the bug that was daunting this project for not beeing able to build .S files because they were confused for .s on a CMD shell.

By mistake GDB was kept out on version 0.7 but is back in on 0.7.1

About debugging. I haven't spent much time on it (i mean using psp-gdb) but you should take a look at the PDF under your pspsdk\psplink. All debugging is made using this tool. You can skip all the build steps it is already built for you both the PSP part under C:\pspsdk\psplink\psp (just pick the right one for your firmware and the PC part is in C:\pspsdk\bin.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
jube



Joined: 23 Oct 2007
Posts: 115

PostPosted: Sat Apr 05, 2008 8:29 am    Post subject: Reply with quote

hi can confirm 0.7.1 works perfectly with stub files ( at least with "simple" linking, which is what my app is doing ! ), it also can co-exist with cygwin installation no problems! ( its all about the win PATH variable ) and the vsmake also works with no hitches yet.
I have 3 installations on my machine, native Xubuntu ( vbox ),cygwin,and this one, am comparing results of compiled code with all, will let you know if any snags but is all looking good !!
Back to top
View user's profile Send private message
jean



Joined: 05 Jan 2008
Posts: 489

PostPosted: Sat Apr 05, 2008 9:48 am    Post subject: Reply with quote

Yeah, i'm using the "old" make you posted and me too can confirm it's working with stubs. Oh, and ..ehm.. my apologizes to neoh: when he pointed out the problem, i was using another build tool and the problem he was having was identical to that coming out when i forget to cleanup complex projects before another build...Now i see...
Back to top
View user's profile Send private message
KickinAezz



Joined: 03 Jun 2007
Posts: 328

PostPosted: Sun Apr 06, 2008 12:08 am    Post subject: Reply with quote

Oh..noo.

Can you post alternate links to Latest 0.7.1?



_________________
Intrigued by PSP system Since December 2006.
Use it more for Development than for Gaming.
Back to top
View user's profile Send private message
Heimdall



Joined: 10 Nov 2005
Posts: 259
Location: Netherlands

PostPosted: Sun Apr 06, 2008 12:24 am    Post subject: Reply with quote

humm damn it! I'll seek another free hosting during the weekend... sorry guys...

If you have any good tips let me know! thanks!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
jean



Joined: 05 Jan 2008
Posts: 489

PostPosted: Sun Apr 06, 2008 12:28 am    Post subject: Reply with quote

if you don't need svn or exotical services, i can host your work on my site... let me know
Back to top
View user's profile Send private message
jube



Joined: 23 Oct 2007
Posts: 115

PostPosted: Sun Apr 06, 2008 7:10 pm    Post subject: Reply with quote

ha the toolchain script made it to qj.net front page !!, unfortunatly they are not hosting the installer lol lol lol, but that means there is suddenly going to be an awfull lot of badly compiled/built versions out there soon!!, time to start a svn?
Back to top
View user's profile Send private message
kralyk



Joined: 06 Apr 2008
Posts: 114
Location: Czech Republic, central EU

PostPosted: Sun Apr 06, 2008 8:20 pm    Post subject: Reply with quote

How about uploaded.to ?
Back to top
View user's profile Send private message
helboi



Joined: 26 Mar 2008
Posts: 9

PostPosted: Sun Apr 06, 2008 9:09 pm    Post subject: Reply with quote

Sorry guys but i could not download none of the files above
Could anyone reupload it to another server
Thanks a lot
Back to top
View user's profile Send private message
snowsquirrel



Joined: 24 Feb 2008
Posts: 51

PostPosted: Mon Apr 07, 2008 3:10 am    Post subject: Reply with quote

how about a temporary server for the weekend?
Back to top
View user's profile Send private message
jean



Joined: 05 Jan 2008
Posts: 489

PostPosted: Mon Apr 07, 2008 3:47 am    Post subject: Reply with quote

here it's coming....
http://www.ecando.it/files/pspsdk.zip
(i'm still uploading...if it fails, retry later...)

glad to help for useful works like this
[EDIT] .....no luck, same old technical problems with my line (i'm running 56k to write!)...you'll have to wait a few hours
Back to top
View user's profile Send private message
snowsquirrel



Joined: 24 Feb 2008
Posts: 51

PostPosted: Mon Apr 07, 2008 5:19 am    Post subject: Reply with quote

I'll host them temporarily over but I don't have an uninstalled copy right now.
~S
Back to top
View user's profile Send private message
jean



Joined: 05 Jan 2008
Posts: 489

PostPosted: Mon Apr 07, 2008 9:08 am    Post subject: Reply with quote

[[link removed]]
OK...link up and running!!! Happy coding!

jean


Last edited by jean on Mon Aug 18, 2008 6:21 am; edited 1 time in total
Back to top
View user's profile Send private message
Heimdall



Joined: 10 Nov 2005
Posts: 259
Location: Netherlands

PostPosted: Mon Apr 07, 2008 5:01 pm    Post subject: Reply with quote

Thanks jean, I never thought it would become so popular, I'm waiting for sourceforge to accept my project request and it will allow me to host my sources, binaries and have a forum and issue tracker to keep making this SDK builds better and better :)
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Heimdall



Joined: 10 Nov 2005
Posts: 259
Location: Netherlands

PostPosted: Tue Apr 08, 2008 6:52 pm    Post subject: Reply with quote

After a stressful weekend with bandwidth shortage here is the latest download links, hopefully they should work better now :)

http://sourceforge.net/project/showfiles.php?group_id=223830

Also included at SourceForge is my scripts under SVN.

I'll try to add a website during the next couple of days with tutorials and other stuff...

Hopefully I won't run out of space of bandwidth so quickly :)
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
ne0h



Joined: 21 Feb 2008
Posts: 386

PostPosted: Tue Apr 08, 2008 11:12 pm    Post subject: Reply with quote

Very good, but the tutorial for what? For install the toolchian?
I'think isn't need because with a basically know of C\C++ you must know the gcc, and the various utils for compiling...
However, very good, now all is perfect in your toolchian and with no modify the makefile i can compile correctly the .S file!
Thanks Heimdall!!
_________________
Get Xplora!
Back to top
View user's profile Send private message
Heimdall



Joined: 10 Nov 2005
Posts: 259
Location: Netherlands

PostPosted: Thu Apr 10, 2008 5:38 am    Post subject: Reply with quote

New devpaks:

giflib 4.1.6
libpspmath v3 + demo

all available at http://sourceforge.net/projects/minpspw

I'm working on building libflac + pthreads + boost4psp

In the meanwhile I'll rebuild SDL to have jim paris latest patch for work with 3.XX kernels and rebuild the SDK to include the unpack-pbp patch.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
KickinAezz



Joined: 03 Jun 2007
Posts: 328

PostPosted: Thu Apr 10, 2008 7:55 am    Post subject: Reply with quote

Heimdall wrote:
New devpaks:

giflib 4.1.6
libpspmath v3 + demo

all available at http://sourceforge.net/projects/minpspw

I'm working on building libflac + pthreads + boost4psp

In the meanwhile I'll rebuild SDL to have jim paris latest patch for work with 3.XX kernels and rebuild the SDK to include the unpack-pbp patch.
Libpspmath v4 by mrmrice is also available. Replace URL v3 w/ v4
_________________
Intrigued by PSP system Since December 2006.
Use it more for Development than for Gaming.
Back to top
View user's profile Send private message
Heimdall



Joined: 10 Nov 2005
Posts: 259
Location: Netherlands

PostPosted: Thu Apr 10, 2008 5:45 pm    Post subject: Reply with quote

Updated libpspmath to v4 and added flac
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Heimdall



Joined: 10 Nov 2005
Posts: 259
Location: Netherlands

PostPosted: Mon Apr 14, 2008 6:10 pm    Post subject: Reply with quote

update: 0.7.2 sync to SVN and removed some patch from devkitpro that didn't seem to do anything there...

added tinyxml devpak and updated SDL for user mode 3.xx firmwares.

all here:
http://sourceforge.net/projects/minpspw
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Heimdall



Joined: 10 Nov 2005
Posts: 259
Location: Netherlands

PostPosted: Wed Apr 16, 2008 7:33 pm    Post subject: Reply with quote

OSLib also added as a devpak
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
kralyk



Joined: 06 Apr 2008
Posts: 114
Location: Czech Republic, central EU

PostPosted: Sun Apr 20, 2008 5:47 am    Post subject: Reply with quote

Hi,

I stil cant get it to work,
this is what I get when I try to build the Hello World project

Code:

**** Build of configuration Default for project Hello World ****

make all
MAKE Version 5.2  Copyright (c) 1987, 1998 Inprise Corp.
Error makefile 18: Command syntax error
*** 1 errors during make ***


What did I screw?
Back to top
View user's profile Send private message
Heimdall



Joined: 10 Nov 2005
Posts: 259
Location: Netherlands

PostPosted: Sun Apr 20, 2008 7:32 pm    Post subject: Reply with quote

Hi kralyk,

i think your sdk is not setup properly, the gnu make i ship it not the one you're invoking, so i guess you have other build tools in your path that are conflicting with this.

on the console do:

echo %PATH%

and see if the pspsdk path is present and before other build tools, also make sure that when you invoke: make the response is:

C:\Documents and Settings\Paulo>make --version

GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for mingw32
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
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.

Report bugs to <bug-make@gnu.org>.


C:\Documents and Settings\Paulo>

if it's not this you have a problem in your path, try then to invoke:

C:\pspsdk\bin\make

giving the full path might solve your problem

Cheers,
Paulo
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
hlide



Joined: 10 Sep 2006
Posts: 750

PostPosted: Sun Apr 20, 2008 8:23 pm    Post subject: Reply with quote

gauri made a patch for gcc 4.3.0. Could you make an experimental sdk with it so people may test it. This new version has some real additions for c++ (variadic template parameters for instance) which I'm looking for. Besides, it seems to have less bugs than gcc 4.2.x.
Back to top
View user's profile Send private message
kralyk



Joined: 06 Apr 2008
Posts: 114
Location: Czech Republic, central EU

PostPosted: Sun Apr 20, 2008 8:24 pm    Post subject: Reply with quote

yeah you were right, in my %path% pspsdk conflicted with Borland Delphi:

Code:
C:\Documents and Settings\vojta>echo %path%
C:\Apps\Delphi\Bin;C:\Apps\Delphi\Projects\Bpl\;C:\Apps\Apache\_PHP\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Apps\Pspsdk\bin

MAKE Version 5.2  Copyright (c) 1987, 1998 Inprise Corp.
Incorrect command line argument: --version

Syntax: MAKE [options ...] target[s]
    -B                Builds all targets regardless of dependency dates
    -Dsymbol[=string] Defines symbol [equal to string]
    -Idirectory       Names an include directory
    -K                Keeps (does not erase) temporary files created by MAKE
... etc...


So I removed Delphi\Bin and everything works fine...
(well, except delphi I guess, but it doesnt really matter...)


Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Page 4 of 9

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group