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 

psptoolchain / newpsptoolchain

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



Joined: 21 Aug 2005
Posts: 410
Location: Austria

PostPosted: Mon Jul 16, 2007 1:19 am    Post subject: psptoolchain / newpsptoolchain Reply with quote

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;
Quote:
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
Back to top
View user's profile Send private message Visit poster's website
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Mon Jul 16, 2007 3:32 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
LuMo



Joined: 21 Aug 2005
Posts: 410
Location: Austria

PostPosted: Mon Jul 16, 2007 4:35 am    Post subject: Reply with quote

thanks a lot, will check it out now hopefully this one works :)
_________________
"Good artists copy, great artists steal."
Pablo Picasso
go2lumo.com
Back to top
View user's profile Send private message Visit poster's website
LuMo



Joined: 21 Aug 2005
Posts: 410
Location: Austria

PostPosted: Mon Jul 16, 2007 6:53 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Tue Jul 17, 2007 6:05 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website
SamuraiX



Joined: 31 Jan 2006
Posts: 76
Location: USA

PostPosted: Tue Jul 17, 2007 1:32 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
LuMo



Joined: 21 Aug 2005
Posts: 410
Location: Austria

PostPosted: Tue Jul 17, 2007 7:10 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
Jim



Joined: 02 Jul 2005
Posts: 487
Location: Sydney

PostPosted: Tue Jul 17, 2007 11:29 pm    Post subject: Reply with quote

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
_________________
http://www.dbfinteractive.com
Back to top
View user's profile Send private message Visit poster's website
LuMo



Joined: 21 Aug 2005
Posts: 410
Location: Austria

PostPosted: Wed Jul 18, 2007 12:30 am    Post subject: Reply with quote

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...
Quote:
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
Back to top
View user's profile Send private message Visit poster's website
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Wed Jul 18, 2007 4:09 am    Post subject: Reply with quote

The toolchain came with a readme.
Back to top
View user's profile Send private message Visit poster's website
SamuraiX



Joined: 31 Jan 2006
Posts: 76
Location: USA

PostPosted: Wed Jul 18, 2007 5:34 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website
Jim



Joined: 02 Jul 2005
Posts: 487
Location: Sydney

PostPosted: Wed Jul 18, 2007 8:25 am    Post subject: Reply with quote

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
_________________
http://www.dbfinteractive.com
Back to top
View user's profile Send private message Visit poster's website
LuMo



Joined: 21 Aug 2005
Posts: 410
Location: Austria

PostPosted: Wed Jul 18, 2007 10:37 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
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