| View previous topic :: View next topic |
| Author |
Message |
aeolusc
Joined: 14 Oct 2006 Posts: 18
|
Posted: Sat Jan 12, 2008 8:38 pm Post subject: gcc 4.3.0 (experimental) patch for PSP programming support |
|
|
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 |
|
 |
hlide
Joined: 10 Sep 2006 Posts: 750
|
Posted: Sat Jan 12, 2008 9:32 pm Post subject: Re: gcc 4.3.0 (experimental) patch for PSP programming suppo |
|
|
| 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 |
|
 |
coolspace
Joined: 10 Nov 2007 Posts: 12
|
Posted: Sat Jan 12, 2008 9:59 pm Post subject: Re: gcc 4.3.0 (experimental) patch for PSP programming suppo |
|
|
| 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 |
|
 |
aeolusc
Joined: 14 Oct 2006 Posts: 18
|
Posted: Mon Feb 04, 2008 4:19 pm Post subject: |
|
|
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 |
|
 |
|