From the error, it looks like it either failed to read the patch from the repo, or the patch failed to run. Look further back in the shell to see which occured. The toolchain tries to wget the patches it needs from the repo, then applies the patches to the plain gcc/bintools/etc. If the patch can't be downloaded, or it fails during the patch phase, the target "psp" won't be recognized.
smartie_on_computer wrote:ok im back again, i think i found what was wrong,the version of gcc and binutils that is install on suse is greater than the toolchain files.
the computer has no access to the internet so im finding it difficult to find any way of getting the right version patches'
i have tried to uninstall gcc and binutils but then the system uninstalls a lot of other packages as well so im just in a sticky situation
The gcc and bintools used to compile the toolchain isn't a problem... I compiled the psptoolchain with 4.1.2 on the latest Ubuntu. Your problem is the "no access to the internet" part. The toolchain is designed to get everything it needs from the net unless you get it all and put it where it wants it.
You need to get the entire psptoolchain directory and inside of that directory put the archives for the versions of gcc, binutils, and newlib that the toolchain wants (look at the toolchain script for the version numbers). Download them from the gcc site on some other machine. You'll also need to provide it with a complete checkout of the PSP sdk sources.
All in all, it would be easier to just temporarily connect the machine to the net to let the toolchain do it all automatically, then remove it from the net once it's done.
also the computer did have a connection at one stage when installing it on cygwin, it all went well there so i copied the downloaded files to suse and tried it, ut thats how i got the error above
Not everything, just the script to make the toolchain and patchfiles. Not to mention, that version of the script had "issues" if you read one of the other threads. You need the subversion copy. How to check out psptoolchain from the subversion is in another thread.
also the computer did have a connection at one stage when installing it on cygwin, it all went well there so i copied the downloaded files to suse and tried it, ut thats how i got the error above
Either there is a difference in the checkout under Windows compared to linux, or you copied something over incorrectly. It's also possible you're missing a dependency... for example, if patchutils isn't installed, the patches won't do any good. Double check the every dependent package is installed. Check for autogen, autoconf, automake, libtool, patchutils, and pkgconfig. If you plan to use gdb, you'll need ncurses as well.