psptoolchain / newpsptoolchain

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
LuMo
Posts: 410
Joined: Sun Aug 21, 2005 2:45 am
Location: Austria
Contact:

psptoolchain / newpsptoolchain

Post by LuMo »

where can i get a new version of this script?

i already developed for psp one year back; but it seems i cant install the script again...

i tried with
newtoolchain-20060222.tgz
psptoolchain-20060120.tgz

both giving me same result;
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... no
checking for working strncmp... yes
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating config.h
config.status: executing default commands
mkdir -p -- ./bfd
Configuring in bfd
configure: creating cache ./config.cache
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking target system type... Invalid configuration `psp': machine `psp' not re
cognized
configure: error: /bin/sh ../../bfd/../config.sub psp failed
make: *** [configure-bfd] Error 1


ERROR: Error!
thanks in advance
greets

PS: http://oopo.net/consoledev/ no longer exists?!??
"Good artists copy, great artists steal."
Pablo Picasso
go2lumo.com
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

It is definately still up. Try:

http://www.oopo.net/consoledev

A better place to grab the latest psptoolchain is:

http://ps2dev.org/psp/Tools/Toolchain

Of course, the best way is to grab it directly out of the svn repository:

svn://svn.ps2dev.org/psp/trunk/psptoolchain
LuMo
Posts: 410
Joined: Sun Aug 21, 2005 2:45 am
Location: Austria
Contact:

Post by LuMo »

thanks a lot, will check it out now hopefully this one works :)
"Good artists copy, great artists steal."
Pablo Picasso
go2lumo.com
LuMo
Posts: 410
Joined: Sun Aug 21, 2005 2:45 am
Location: Austria
Contact:

Post by LuMo »

Cygwin wrote: make[1]: *** [all-libiberty] Error 139
make[1]: *** Waiting for unfinished jobs....
[...]
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for i686-pc-cygwin-ranlib... (cached) ranlib
updating cache .././config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing default commands
make[1]: Leaving directory `/home/lumo/psptoolchain/build/gdb-6.4/build-psp'
make: *** [all] Error 2
../scripts/007-gdb-6.4.sh: Failed.
any ideas?
happened 48 minutes after starting the script
"Good artists copy, great artists steal."
Pablo Picasso
go2lumo.com
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

I don't use cygwin so I couldn't tell you why it failed, but by the time you get to building GDB the main part of the toolchain is already done. If you aren't planning on debugging then you're probably ready to build code now.
SamuraiX
Posts: 76
Joined: Tue Jan 31, 2006 6:28 am
Location: USA
Contact:

Post by SamuraiX »

Try to specify only that portion of the toolchain to build and install. I ran into that issue as well.... I would highly recommend moving away from cygwin and moving on to something like Ubuntu. All your installations issues would be gone being on a Linux Distro..... Well at least Ubuntu....;p
LuMo
Posts: 410
Joined: Sun Aug 21, 2005 2:45 am
Location: Austria
Contact:

Post by LuMo »

ok, will try to build my source today as soon as i am home.
will let you know then.

i have to write an tutorial for someone to compile my code, and those ppl are windows users (so am i); i do not want to install linux just to compile src for psp...
i do not really need a debugger, as my code is already finished and "only" needs to get crosscompiled (hopefully i did not leave a bug in there ;) )

thanks for your help! will let you know about any updates!

PS: my code is an 3d-object loader - src will be published as the work on university is published (should be till end of august)

greets!

PS: its working for quite huge meshes!
"Good artists copy, great artists steal."
Pablo Picasso
go2lumo.com
User avatar
Jim
Posts: 476
Joined: Sat Jul 02, 2005 10:06 pm
Location: Sydney
Contact:

Post by Jim »

You should be encouraged by the fact that loads of us have installed the PSP toolchain from svn using Cygwin with no problems whatever. As long as you follow the instructionsin the readme it's simple.

Jim
LuMo
Posts: 410
Joined: Sun Aug 21, 2005 2:45 am
Location: Austria
Contact:

Post by LuMo »

weill the "readme" which one? there are several tutorials out there...
i wrote down what i did the last time i sucessfully installed it. this thime it does not work with the exact same things i did last time...
iff you know a link i do not know - i am open for news :D

EDIT: i tried compiling my code and its working...
psp-fixup-imports 3dbLoader.elf
psp-prxgen 3dbLoader.elf 3dbLoader.prx
mksfo '"3dbLoader PRX v5"' PARAM.SFO
pack-pbp EBOOT.PBP PARAM.SFO ./customize/ICON0.PNG \
NULL NULL NULL \
NULL 3dbLoader.prx NULL
[0] 408 bytes | PARAM.SFO
[1] 7110 bytes | ./customize/ICON0.PNG
[2] 0 bytes | NULL
[3] 0 bytes | NULL
[4] 0 bytes | NULL
[5] 0 bytes | NULL
[6] 463326 bytes | 3dbLoader.prx
[7] 0 bytes | NULL
so do i need a special package that does not get checked before running the chain?
i got some msgs about required libs when i tried to run it eg. ncurses etc...
"Good artists copy, great artists steal."
Pablo Picasso
go2lumo.com
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

The toolchain came with a readme.
SamuraiX
Posts: 76
Joined: Tue Jan 31, 2006 6:28 am
Location: USA
Contact:

Post by SamuraiX »

My issues were due to upgrading to Vista and performing a fresh install of cygwin. I've never had issues with the XP/Cygwin combination but with Vista.... Well I just gave up and started using Linux.
User avatar
Jim
Posts: 476
Joined: Sat Jul 02, 2005 10:06 pm
Location: Sydney
Contact:

Post by Jim »

No problems with cygwin and 2 Vista installs here (psp, ps3 sdks). Except with running daemons as services which doesn't affect the toolchains.

Jim
LuMo
Posts: 410
Joined: Sun Aug 21, 2005 2:45 am
Location: Austria
Contact:

Post by LuMo »

well i now noticed the readme, thanks for the hint *blush*
all packages but texinfo (did not look up what it is doing yet)
are installed here... also the path is correct.

i am pretty happy as its working so... its ok for me

ps: i am using windows xp sp2 pro
"Good artists copy, great artists steal."
Pablo Picasso
go2lumo.com
Post Reply