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 

[psp] psptoolchain patch to build gdb using gcc-4.4

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> Patch Submissions
View previous topic :: View next topic  
Author Message
rarjam



Joined: 13 Apr 2009
Posts: 2

PostPosted: Wed Jul 01, 2009 3:38 am    Post subject: [psp] psptoolchain patch to build gdb using gcc-4.4 Reply with quote

Here is a patch that disables error while building gdb-6.8 using gcc-4.4. It compiled without error on the latest svn (as of today). Can't vouch whether the build is correct or not though.

Code:

--- scripts/007-gdb-6.8.sh.orig   2009-06-30 06:48:42.000000000 -0700
+++ scripts/007-gdb-6.8.sh   2009-06-30 06:55:01.000000000 -0700
@@ -14,7 +14,7 @@
  mkdir build-psp && cd build-psp || { exit 1; }
 
  ## Configure the build.
- ../configure --prefix="$PSPDEV" --target="psp" --disable-nls || { exit 1; }
+ ../configure --prefix="$PSPDEV" --target="psp" --disable-werror --disable-nls || { exit 1; }
 
  ## Compile and install.
  make clean && make -j 2 && make install && make clean || { exit 1; }


Specifically, just add --disable-werror in scripts/007-gdb-6.8.sh configure line.

Save to a file and run from the source directory:

Code:
patch -p0 < file
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Thu Jul 02, 2009 7:21 am    Post subject: Reply with quote

Applied in rev 2468, 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 -> Patch Submissions 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