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 

gcc 4.3.0 (experimental) patch for PSP programming support

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
aeolusc



Joined: 14 Oct 2006
Posts: 18

PostPosted: Sat Jan 12, 2008 8:38 pm    Post subject: gcc 4.3.0 (experimental) patch for PSP programming support Reply with quote

Tested to all known psplibraries, works fine except libbulletml.
As gcc 4.3.0 gets more limit to C++ compiling so that functions just like strlen, exit and so on should not be used without <string.h>/<stdlib.h> included.
Modify source codes could have the problems resolved.

Here's the patch:
http://www.pspsp.org/down/gcc-4.3.0-PSP.patch.gz

get gcc 4.3.0 experimental:
svn co svn://gcc.gnu.org/svn/gcc/trunk gcc-4.3.0

PS: the devkitPro have already made gdb 6.7.1 working for PSP, patch is available in its cvs on sourceforge
Back to top
View user's profile Send private message
hlide



Joined: 10 Sep 2006
Posts: 750

PostPosted: Sat Jan 12, 2008 9:32 pm    Post subject: Re: gcc 4.3.0 (experimental) patch for PSP programming suppo Reply with quote

aeolusc wrote:
Tested to all known psplibraries, works fine except libbulletml.
As gcc 4.3.0 gets more limit to C++ compiling so that functions just like strlen, exit and so on should not be used without <string.h>/<stdlib.h> included.
Modify source codes could have the problems resolved.

Here's the patch:
http://www.pspsp.org/down/gcc-4.3.0-PSP.patch.gz

get gcc 4.3.0 experimental:
svn co svn://gcc.gnu.org/svn/gcc/trunk gcc-4.3.0

PS: the devkitPro have already made gdb 6.7.1 working for PSP, patch is available in its cvs on sourceforge


insight as well ?

you told gdb 6.7.1 works for PSP, but how gdb communicates with PSP ?
Back to top
View user's profile Send private message
coolspace



Joined: 10 Nov 2007
Posts: 12

PostPosted: Sat Jan 12, 2008 9:59 pm    Post subject: Re: gcc 4.3.0 (experimental) patch for PSP programming suppo Reply with quote

hlide wrote:
aeolusc wrote:
Tested to all known psplibraries, works fine except libbulletml.
As gcc 4.3.0 gets more limit to C++ compiling so that functions just like strlen, exit and so on should not be used without <string.h>/<stdlib.h> included.
Modify source codes could have the problems resolved.

Here's the patch:
http://www.pspsp.org/down/gcc-4.3.0-PSP.patch.gz

get gcc 4.3.0 experimental:
svn co svn://gcc.gnu.org/svn/gcc/trunk gcc-4.3.0

PS: the devkitPro have already made gdb 6.7.1 working for PSP, patch is available in its cvs on sourceforge


insight as well ?

you told gdb 6.7.1 works for PSP, but how gdb communicates with PSP ?


using psplinkusb
psplinkusb can start a gdb server on psp
Back to top
View user's profile Send private message
aeolusc



Joined: 14 Oct 2006
Posts: 18

PostPosted: Mon Feb 04, 2008 4:19 pm    Post subject: Reply with quote

Updated patch link.
Resolved problem of compiling __builtin_allegrex_cache and update gcc to newest svn rev for patch generation.
Note: removed check to 1st argument of __builtin_allegrex_cache so that we should ensure it's smaller than 0x1f ourselves.
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
Page 1 of 1

 
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