| View previous topic :: View next topic |
| Author |
Message |
modman

Joined: 12 Feb 2005 Posts: 31 Location: Philadelphia, PA
|
|
| Back to top |
|
 |
lynx44
Joined: 01 Jun 2005 Posts: 12
|
Posted: Sat Jun 18, 2005 6:51 am Post subject: |
|
|
I'm installing the toolchain as we speak. I used the script and Cygwin to run it - it was easy enough to get it to run, but its still installing, 8 hours later. Is this normal? Or did I most likely miss something? Just wondering if I should leave it for a while longer or start over.
My computer and connection arent slow either, I have a 1.8 P4 and DSL.
-Matt |
|
| Back to top |
|
 |
0xdeadface
Joined: 31 May 2005 Posts: 62
|
Posted: Sat Jun 18, 2005 7:00 am Post subject: |
|
|
It took over 4 hours on my p4 2.6.
It was basically the connection I had though, restarting and selecting another server worked wonders...I selected the full install and it had quite some downloading to do. |
|
| Back to top |
|
 |
lynx44
Joined: 01 Jun 2005 Posts: 12
|
Posted: Sat Jun 18, 2005 7:16 am Post subject: |
|
|
Alright, it just finished. Not sure if it works yet, but at least it appears to have executted successfully. Thanks for the script oopo!
-Matt |
|
| Back to top |
|
 |
TRF-Yu-Ki
Joined: 08 Jun 2005 Posts: 15
|
Posted: Sun Jun 19, 2005 5:09 am Post subject: |
|
|
Ya know what's wierd about this whole thing.... I almost bashed my head into my monitor in frustration trying to get it to work. Eventually, I just downloaded CYGWIN(pointed the cygwin's setup.exe at some ps2dev ftp server, don't remember the name) into C:\PSPCYGWIN. Then, in HelloPSP's make.bat, I made it look like this:
| Code: |
C:\PSPCYGWIN\ee\bin\ee-gcc.exe -march=r4000 -g -mgp32 -mlong32 -c hellopsp.c
C:\PSPCYGWIN\ee\bin\ee-gcc.exe -march=r4000 -g -mgp32 -mlong32 -c pg.c
C:\PSPCYGWIN\ee\bin\ee-gcc.exe -march=r4000 -g -mgp32 -c -xassembler -O -o startup.o startup.s
C:\PSPCYGWIN\ee\bin\ee-ld.exe -O0 startup.o hellopsp.o pg.o -M -Ttext 8900000 -q -o out > hellopsp.map
c:\PSPCYGWIN\outpatch
C:\PSPCYGWIN\elf2pbp outp HelloWorld
@echo you got outp as psp elf with EBOOT.PBP final stage.
|
....and that works just fine. I can make modifications to nem's HelloPSP, compile, execute on the PSP1.50 and I see the changes. I have no toolchain.sh ...no nothing... it just worked. Actually, I don't even need to start up cygwin. I can just click on the BAT file in windows and it compiles...so I'm not sure what I'm missing. =^P ...but, please don't bother listening to me. I'll probably run into my own problems a month or 2 down the line. This is the first time I've ever gotten involved in homebrew of a commercial videogame console. I'm just throwing this into the thread as FYI.
BTW, anyone got the sce-functions for detecting wireless networks? ;)
[/code] _________________ Learning to hack is not bad in itself; it's what you do with your abilities that count. - a.k.a. Shadow-Me-Twice of ddrfreak.com |
|
| Back to top |
|
 |
wulf
Joined: 13 Apr 2005 Posts: 81
|
Posted: Sun Jun 19, 2005 5:52 am Post subject: |
|
|
it's because cygwin is really just a bash shell that runs in windows.. all the programs that it executes are just unix/linux programs ported to windows (not that it's too hard to port command line apps)
bash is just a command shell replacement... but what it does is enable you to run all the "linux-y"
commands that are in shallscripts: ie cp instead of copy, etc. |
|
| Back to top |
|
 |
senor coco
Joined: 05 May 2005 Posts: 5
|
Posted: Sun Jun 19, 2005 12:18 pm Post subject: |
|
|
sorry if this sound stupid but this is my first time using cgywin and everytime i try to run the script it tell me that:
gmake not fount
make not found
What do i do? |
|
| Back to top |
|
 |
Yardbird
Joined: 31 May 2005 Posts: 11
|
Posted: Sun Jun 19, 2005 7:23 pm Post subject: |
|
|
| Run your cygwin setup again, and make sure you install 'make', when you get the option to select packages (it's somewhere under 'devel'). There are probably some other packages you'll still need to install (e.g. wget), using the same method. |
|
| Back to top |
|
 |
senor coco
Joined: 05 May 2005 Posts: 5
|
Posted: Mon Jun 20, 2005 3:19 am Post subject: |
|
|
I got everything to work but when i run the script it downbloadc everything but when it trie to install it it give me alot of arrors like:
no such file or directory
/psphome/psptoolchain/binutils-2.16.tar.gz not found in archive
/psphome/psptoolchain/gcc-4.0.0.tar.bz2 not found in archive
/psphome/psptoolchain/newlib-1.13.0.tar.gz not found in archive
cant cd binutils-2.16.tar.gz
cant cd gcc-4.0.0.tar.bz2
cant cd newlib-1.13.0.tar.gz
These are just a few. What do i do. |
|
| Back to top |
|
 |
n1ckn4m3
Joined: 22 May 2005 Posts: 16
|
Posted: Sat Jun 25, 2005 11:39 am Post subject: |
|
|
If you get any error message pertaining to the following:
gcc-4.0.0.tar.bz2 not found in archive
wget: command not found
make: command not found
gcc: command not found
or the likes, make sure you have installed the packages 'wget' 'make' 'patch' and 'gcc' for cygwin.
That should help a little.
EDIT: on a side note, on a P4-3.4GHz Prescott w/ 1gb DDR400 ram and 3.0MBps DSL, it took about 15 mins to download/install cygwin from a good ftp. If you're having extremely long install problems, make sure you didn't select every package in the list for cygwin and make sure it's grabbing from a nice server :D. The psptoolchain takes a little while to compile, I'm at about 1.5 hours now. _________________ ... anyone up for some l33th4x?
;) |
|
| Back to top |
|
 |
rugalz
Joined: 24 Jun 2005 Posts: 1
|
Posted: Sun Jun 26, 2005 4:04 am Post subject: |
|
|
Hi, I followed all the instructions. However I'm still getting this error with Hello World:
| Code: |
psp-gcc -g -c -xassembler -O -o startup.o startup.S
startup.S: Assembler messages:
startup.S:17: Error: illegal operands `la $v2,_gp'
startup.S:18: Error: illegal operands `move'
startup.S:23: Error: illegal operands `li $v2,1'
|
I noticed several posts has this problem but I did not see anyone responded with answer. Any help would be appriciated. |
|
| Back to top |
|
 |
jboldiga
Joined: 20 Jun 2005 Posts: 27
|
Posted: Sun Jun 26, 2005 4:13 am Post subject: |
|
|
| remove the 'v' in "$v2" |
|
| Back to top |
|
 |
|