The first working ps3toolchain release!

Technical discussion on the newly released and hard to find PS3.

Moderators: cheriff, emoon

zabbyh
Posts: 13
Joined: Fri Jul 15, 2005 3:40 am

Post by zabbyh »

jimparis wrote:Not sure what you mean. From the otheros loader, we already have access to lots of the hardware, and access to the "other os" hdd partition. The hypervisor won't give us access to the full disk, and from otheros there's nothing we can do to change that.
Can you access the hdd, a memory stick, an external hdd, the Blu Ray Drive..

Is so what are there labels.. for e.g. ms0: for the memory stick etc...?
User avatar
mc
Posts: 211
Joined: Wed Jan 12, 2005 7:32 am
Location: Linköping

Post by mc »

It's all SCSI units.

Harddisk: sda
Blueray drive: sdb
Memory stick: sdc
Secure Digital: sdd
Compact Flash: sde

Add "1" for the first partition, "2" for the second etc.

External USB units (wheteher flash memory or harddrive) will
be allocated names dynamically, so the first attached will be sdf
and so on.
Flying at a high speed
Having the courage
Getting over crisis
I rescue the people
User avatar
mc
Posts: 211
Joined: Wed Jan 12, 2005 7:32 am
Location: Linköping

Post by mc »

As, sorry, slight mistake there.

Blueray drive: sr0
Internal flash: sdb

The others should be correct.
Flying at a high speed
Having the courage
Getting over crisis
I rescue the people
Ps3Rips
Posts: 25
Joined: Wed May 02, 2007 5:06 am

Device Name clarification

Post by Ps3Rips »

can I just confirm the IO deivce names

Blueray drive: sr0
Internal flash: sdb

as MC said or

Blueray drive: sr:0
Internal flash: sdb:0

Also shouldn't the Harddisk be HDD:0? or if it is sda will it be sda:1 if only 1 active partition?
sorry to switch from main topic just interested in device names (thanks for info so far MC)
User avatar
mc
Posts: 211
Joined: Wed Jan 12, 2005 7:32 am
Location: Linköping

Re: Device Name clarification

Post by mc »

Ps3Rips wrote:Also shouldn't the Harddisk be HDD:0?
Eh, no? hd* is for IDE harddrives, but the PS3 harddrive is SATA, which works
like SCSI, so it's sd*. And even if it had been IDE it would have been hda,
you'll need four harddisks to get as far as hdd...
Ps3Rips wrote:or if it is sda will it be sda:1 if only 1 active partition?
sda1. No embedded colon. (Also, sda1 is the first partition, regardless of
whether it's "active" or not.) Anyway, this seems like it would be more
on-topic in the Linux forum, as these names are Linux specific.
Flying at a high speed
Having the courage
Getting over crisis
I rescue the people
User avatar
Jim
Posts: 476
Joined: Sat Jul 02, 2005 10:06 pm
Location: Sydney
Contact:

Post by Jim »

I'm trying to build the ps3 toolchain on cygwin.
At step 5 (binutils-2.17.50 spu) it's failing building bin2c.c because there are 2 prototypes missing and it's built with -Wmissing-prototypes and -Werror.
I had to add

Code: Select all

int __cdecl	_fileno (FILE*);
int __cdecl	_setmode(int, int);
after the includes to get the step to complete. I know this isn't a good solution though.

<edit>
At step 7 (newlib-1.15.0 spu) it fails at 'make install'.
I had to change the install rule in Makefile
newlib-1.15.0\build-spu\spu\libgloss\spu

Code: Select all

install&#58;
	for outputs in $&#123;OUTPUTS&#125;; do\
	 $&#123;INSTALL_DATA&#125; $$&#123;outputs&#125; $&#40;DESTDIR&#41;$&#123;tooldir&#125;/lib$&#123;MULTISUBDIR&#125;/$$&#123;outputs&#125;; \
	done
I've removed the / between $(DESTDIR) and ${tooldir}, since my ${tooldir} ends up as /usr/local/ps3dev/spu and that expands to //usr/local/ps3dev/spu.

Jim
rapso
Posts: 140
Joined: Mon Mar 28, 2005 6:35 am

Post by rapso »

ooPo wrote:mukumuku:

Take a look in depends/check-autoconf.sh to see what commands it is trying to run. Perhaps you can track down the problem.
I've the same problem now.

starting check-autoconf.sh tells me:
$ ./toolchain.sh
../check-autoconf.sh: line 5: autoconf: command not found
ERROR: Install autoconf before continuing.
../check-autoconf.sh: Failed.
expanding autocon says I've both possible version (that can be selected on the cygwin setup)
$ autocon
autoconf-2.13 autoconf-2.61

I'm using (obviously) cygwin, it was not a clean installation, but already used for PS2 and PSP (I'm sure PSP was working, took hours to complet tho :) ). I've added/updated all the needed libs.

I've set the chmod stuff (is it of any use on windows/cygwin?)

any ideas/help?
toxicer
Posts: 17
Joined: Wed Apr 18, 2007 8:38 pm

Post by toxicer »

$ ./toolchain.sh
../check-autoconf.sh: line 5: autoconf: command not found
ERROR: Install autoconf before continuing.
../check-autoconf.sh: Failed.


expanding autocon says I've both possible version (that can be selected on the cygwin setup)
Quote:

$ autocon
autoconf-2.13 autoconf-2.61
What about sym linking either autoconf-2.13 or autoconf-2.13 to autoconf?
$inister
Posts: 4
Joined: Sun Jul 22, 2007 5:18 pm
Location: Boca Raton, Florida
Contact:

Post by $inister »

wow, homebrew on the PS3 is closer then what people imagine. Awesome.
rapso
Posts: 140
Joined: Mon Mar 28, 2005 6:35 am

Post by rapso »

toxicer wrote: What about sym linking either autoconf-2.13 or autoconf-2.13 to autoconf?
softlink, on windows?;)
but I've maken a copy to autoconf of autoconf-2.13, it was working for several hours, stopped this morning at some warnings+errors, I've dumped the critical part at:

http://www.rapso.de/ranz/error.txt

am I missing something that needs to be installed for cygwin? for me it seems like it's missing something in the toolchain, but I've no idea what went wrong nor why. :(
User avatar
Jim
Posts: 476
Joined: Sat Jul 02, 2005 10:06 pm
Location: Sydney
Contact:

Post by Jim »

You can symlink under Cygwin. I didn't have to do that, however.
gcc -o bin2c.exe -D_GNU_SOURCE -I. -I../../binutils -I../bfd -I../../binutils/..
/bfd -I../../binutils/../include -DLOCALEDIR="\"/cygdrive/d/PS3Dev/SDK/spu/share
/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation -W -Wall -Wstrict-prototy
pes -Wmissing-prototypes -Werror -g -O2 ../../binutils/bin2c.c ../../binutils/v
ersion.c
../../binutils/bin2c.c: In function `main':
../../binutils/bin2c.c:89: warning: implicit declaration of function `_fileno'
../../binutils/bin2c.c:89: warning: implicit declaration of function `_setmode'
This can be fixed by following my notes from 2 or 3 posts above.

Jim
ouasse
Posts: 80
Joined: Mon Jul 30, 2007 5:58 am
Location: Paris, France

Post by ouasse »

Hi, I got that error on PS3 Debian :

Code: Select all

In file included from ../../libiberty/fopen_unlocked.c&#58;73&#58;
/usr/include/stdio_ext.h&#58;47&#58; error&#58; expected '=', ',', ';', 'asm' or '__attribut
e__' before 'extern'
/usr/include/stdio_ext.h&#58; In function '__freading'&#58;
/usr/include/stdio_ext.h&#58;52&#58; error&#58; expected declaration specifiers before '__TH
ROW'
/usr/include/stdio_ext.h&#58;57&#58; error&#58; expected '=', ',', ';', 'asm' or '__attribut
e__' before '__THROW'
/usr/include/stdio_ext.h&#58;62&#58; error&#58; expected '=', ',', ';', 'asm' or '__attribut
e__' before '__THROW'
/usr/include/stdio_ext.h&#58;65&#58; error&#58; expected '=', ',', ';', 'asm' or '__attribut
e__' before '__THROW'
/usr/include/stdio_ext.h&#58;69&#58; error&#58; expected '=', ',', ';', 'asm' or '__attribut
e__' before '__THROW'
/usr/include/stdio_ext.h&#58;73&#58; error&#58; expected '=', ',', ';', 'asm' or '__attribut
e__' before '__THROW'
/usr/include/stdio_ext.h&#58;76&#58; error&#58; expected '=', ',', ';', 'asm' or '__attribut
e__' before '__THROW'
/usr/include/stdio_ext.h&#58;79&#58; error&#58; storage class specified for parameter '_flus
hlbf'
/usr/include/stdio_ext.h&#58;83&#58; error&#58; expected '=', ',', ';', 'asm' or '__attribut
e__' before '__THROW'
/usr/include/stdio_ext.h&#58;85&#58; error&#58; expected declaration specifiers before '__EN
D_DECLS'
In file included from ../../libiberty/fopen_unlocked.c&#58;76&#58;
../../libiberty/../include/libiberty.h&#58;55&#58; error&#58; storage class specified for pa
rameter 'unlock_stream'
../../libiberty/../include/libiberty.h&#58;61&#58; error&#58; storage class specified for pa
rameter 'unlock_std_streams'
../../libiberty/../include/libiberty.h&#58;67&#58; error&#58; storage class specified for pa
rameter 'fopen_unlocked'
../../libiberty/../include/libiberty.h&#58;68&#58; error&#58; storage class specified for pa
rameter 'fdopen_unlocked'
../../libiberty/../include/libiberty.h&#58;69&#58; error&#58; storage class specified for pa
rameter 'freopen_unlocked'
../../libiberty/../include/libiberty.h&#58;74&#58; error&#58; storage class specified for pa
rameter 'buildargv'
../../libiberty/../include/libiberty.h&#58;74&#58; warning&#58; '__malloc__' attribute ignor
ed
../../libiberty/../include/libiberty.h&#58;78&#58; error&#58; storage class specified for pa
rameter 'freeargv'
../../libiberty/../include/libiberty.h&#58;83&#58; error&#58; storage class specified for pa
rameter 'dupargv'
../../libiberty/../include/libiberty.h&#58;83&#58; warning&#58; '__malloc__' attribute ignor
ed
../../libiberty/../include/libiberty.h&#58;87&#58; error&#58; storage class specified for pa
rameter 'expandargv'
../../libiberty/../include/libiberty.h&#58;101&#58; error&#58; storage class specified for p
arameter 'basename'
../../libiberty/../include/libiberty.h&#58;112&#58; error&#58; storage class specified for p
arameter 'lbasename'
../../libiberty/../include/libiberty.h&#58;116&#58; error&#58; storage class specified for p
arameter 'lrealpath'
../../libiberty/../include/libiberty.h&#58;122&#58; error&#58; storage class specified for p
arameter 'concat'
../../libiberty/../include/libiberty.h&#58;122&#58; warning&#58; '__malloc__' attribute igno
red
../../libiberty/../include/libiberty.h&#58;131&#58; error&#58; storage class specified for p
arameter 'reconcat'
../../libiberty/../include/libiberty.h&#58;131&#58; warning&#58; '__malloc__' attribute igno
red
../../libiberty/../include/libiberty.h&#58;137&#58; error&#58; storage class specified for p
arameter 'concat_length'
../../libiberty/../include/libiberty.h&#58;144&#58; error&#58; storage class specified for p
arameter 'concat_copy'
../../libiberty/../include/libiberty.h&#58;151&#58; error&#58; storage class specified for p
arameter 'concat_copy2'
../../libiberty/../include/libiberty.h&#58;155&#58; error&#58; storage class specified for p
arameter 'libiberty_concat_ptr'
../../libiberty/../include/libiberty.h&#58;167&#58; error&#58; storage class specified for p
arameter 'fdmatch'
../../libiberty/../include/libiberty.h&#58;179&#58; error&#58; storage class specified for p
arameter 'getpwd'
../../libiberty/../include/libiberty.h&#58;192&#58; error&#58; storage class specified for p
arameter 'get_run_time'
../../libiberty/../include/libiberty.h&#58;198&#58; error&#58; storage class specified for p
arameter 'make_relative_prefix'
../../libiberty/../include/libiberty.h&#58;198&#58; warning&#58; '__malloc__' attribute igno
red
../../libiberty/../include/libiberty.h&#58;202&#58; error&#58; storage class specified for p
arameter 'choose_temp_base'
../../libiberty/../include/libiberty.h&#58;202&#58; warning&#58; '__malloc__' attribute igno
red
../../libiberty/../include/libiberty.h&#58;206&#58; error&#58; storage class specified for p
arameter 'make_temp_file'
../../libiberty/../include/libiberty.h&#58;206&#58; warning&#58; '__malloc__' attribute igno
red
../../libiberty/../include/libiberty.h&#58;210&#58; error&#58; storage class specified for p
arameter 'unlink_if_ordinary'
../../libiberty/../include/libiberty.h&#58;214&#58; error&#58; storage class specified for p
arameter 'spaces'
../../libiberty/../include/libiberty.h&#58;219&#58; error&#58; storage class specified for p
arameter 'errno_max'
../../libiberty/../include/libiberty.h&#58;224&#58; error&#58; storage class specified for p
arameter 'strerrno'
../../libiberty/../include/libiberty.h&#58;228&#58; error&#58; storage class specified for p
arameter 'strtoerrno'
../../libiberty/../include/libiberty.h&#58;232&#58; error&#58; storage class specified for p
arameter 'xstrerror'
../../libiberty/../include/libiberty.h&#58;237&#58; error&#58; storage class specified for p
arameter 'signo_max'
../../libiberty/../include/libiberty.h&#58;249&#58; error&#58; storage class specified for p
arameter 'strsigno'
../../libiberty/../include/libiberty.h&#58;253&#58; error&#58; storage class specified for p
arameter 'strtosigno'
../../libiberty/../include/libiberty.h&#58;257&#58; error&#58; storage class specified for p
arameter 'xatexit'
../../libiberty/../include/libiberty.h&#58;261&#58; error&#58; storage class specified for p
arameter 'xexit'
../../libiberty/../include/libiberty.h&#58;265&#58; error&#58; storage class specified for p
arameter 'xmalloc_set_program_name'
../../libiberty/../include/libiberty.h&#58;268&#58; error&#58; storage class specified for p
arameter 'xmalloc_failed'
../../libiberty/../include/libiberty.h&#58;274&#58; error&#58; storage class specified for p
arameter 'xmalloc'
../../libiberty/../include/libiberty.h&#58;274&#58; warning&#58; '__malloc__' attribute igno
red
../../libiberty/../include/libiberty.h&#58;280&#58; error&#58; storage class specified for p
arameter 'xrealloc'
../../libiberty/../include/libiberty.h&#58;285&#58; error&#58; storage class specified for p
arameter 'xcalloc'
../../libiberty/../include/libiberty.h&#58;285&#58; warning&#58; '__malloc__' attribute igno
red
../../libiberty/../include/libiberty.h&#58;289&#58; error&#58; storage class specified for p
arameter 'xstrdup'
../../libiberty/../include/libiberty.h&#58;289&#58; warning&#58; '__malloc__' attribute igno
red
../../libiberty/../include/libiberty.h&#58;293&#58; error&#58; storage class specified for p
arameter 'xstrndup'
../../libiberty/../include/libiberty.h&#58;293&#58; warning&#58; '__malloc__' attribute igno
red
../../libiberty/../include/libiberty.h&#58;297&#58; error&#58; storage class specified for p
arameter 'xmemdup'
../../libiberty/../include/libiberty.h&#58;297&#58; warning&#58; '__malloc__' attribute igno
red
../../libiberty/../include/libiberty.h&#58;300&#58; error&#58; storage class specified for p
arameter 'physmem_total'
../../libiberty/../include/libiberty.h&#58;301&#58; error&#58; storage class specified for p
arameter 'physmem_available'
../../libiberty/../include/libiberty.h&#58;338&#58; error&#58; storage class specified for p
arameter '_hex_value'
../../libiberty/../include/libiberty.h&#58;339&#58; error&#58; storage class specified for p
arameter 'hex_init'
../../libiberty/../include/libiberty.h&#58;365&#58; error&#58; storage class specified for p
arameter 'pex_init'
../../libiberty/../include/libiberty.h&#58;449&#58; error&#58; storage class specified for p
arameter 'pex_run'
../../libiberty/../include/libiberty.h&#58;466&#58; error&#58; storage class specified for p
arameter 'pex_run_in_environment'
../../libiberty/../include/libiberty.h&#58;473&#58; error&#58; storage class specified for p
arameter 'pex_input_file'
../../libiberty/../include/libiberty.h&#58;480&#58; error&#58; storage class specified for p
arameter 'pex_input_pipe'
../../libiberty/../include/libiberty.h&#58;488&#58; error&#58; storage class specified for p
arameter 'pex_read_output'
../../libiberty/../include/libiberty.h&#58;494&#58; error&#58; storage class specified for p
arameter 'pex_get_status'
../../libiberty/../include/libiberty.h&#58;507&#58; warning&#58; empty declaration
../../libiberty/../include/libiberty.h&#58;510&#58; error&#58; storage class specified for p
arameter 'pex_get_times'
../../libiberty/../include/libiberty.h&#58;514&#58; error&#58; storage class specified for p
arameter 'pex_free'
../../libiberty/../include/libiberty.h&#58;530&#58; error&#58; storage class specified for p
arameter 'pex_one'
../../libiberty/../include/libiberty.h&#58;547&#58; error&#58; storage class specified for p
arameter 'pexecute'
../../libiberty/../include/libiberty.h&#58;551&#58; error&#58; storage class specified for p
arameter 'pwait'
../../libiberty/../include/libiberty.h&#58;579&#58; error&#58; storage class specified for p
arameter 'strverscmp'
../../libiberty/../include/libiberty.h&#58;590&#58; error&#58; storage class specified for p
arameter 'C_alloca'
../../libiberty/../include/libiberty.h&#58;590&#58; warning&#58; '__malloc__' attribute igno
red
../../libiberty/fopen_unlocked.c&#58;83&#58; error&#58; expected '=', ',', ';', 'asm' or '__
attribute__' before '&#123;' token
../../libiberty/fopen_unlocked.c&#58;92&#58; error&#58; expected '=', ',', ';', 'asm' or '__
attribute__' before '&#123;' token
../../libiberty/fopen_unlocked.c&#58;98&#58; error&#58; expected '=', ',', ';', 'asm' or '__
attribute__' before '&#123;' token
../../libiberty/fopen_unlocked.c&#58;106&#58; error&#58; expected '=', ',', ';', 'asm' or '_
_attribute__' before '&#123;' token
../../libiberty/fopen_unlocked.c&#58;114&#58; error&#58; expected '=', ',', ';', 'asm' or '_
_attribute__' before '&#123;' token
../../libiberty/fopen_unlocked.c&#58;122&#58; error&#58; expected '=', ',', ';', 'asm' or '_
_attribute__' before '&#123;' token
../../libiberty/fopen_unlocked.c&#58;126&#58; error&#58; old-style parameter declarations in
 prototyped function definition
../../libiberty/fopen_unlocked.c&#58;126&#58; error&#58; expected '&#123;' at end of input
make&#91;3&#93;&#58; *** &#91;fopen_unlocked.o&#93; Erreur 1
make&#91;3&#93;&#58; *** Attente des tâches non terminées....
make&#91;3&#93;&#58; quittant le répertoire « /root/ps3toolchain/build/gcc-4.2.0/build-ppu-s
tage2/libiberty »
make&#91;2&#93;&#58; *** &#91;all-stage2-libiberty&#93; Erreur 2
make&#91;2&#93;&#58; quittant le répertoire « /root/ps3toolchain/build/gcc-4.2.0/build-ppu-s
tage2 »
make&#91;1&#93;&#58; *** &#91;stage2-bubble&#93; Erreur 2
make&#91;1&#93;&#58; quittant le répertoire « /root/ps3toolchain/build/gcc-4.2.0/build-ppu-s
tage2 »
make&#58; *** &#91;all&#93; Erreur 2
../scripts/004-gcc-4.2.0-ppu-stage2.sh&#58; Failed.
zebehn&#58;~/ps3toolchain# 
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

Why are you using ps3toolchain on a ps3? You already have a compiler installed - it is called 'gcc'.
ouasse
Posts: 80
Joined: Mon Jul 30, 2007 5:58 am
Location: Paris, France

Post by ouasse »

well, I may be wrong but the Debian gcc is just a standard PPC64 compiler. I was needing compilers for the PPU and SPUs. And as installing the official IBM development kit (using alien and hacking installation scripts) is a real nightmare, I tried to use the toolchain in order to manage to get a fully working Cell BE development environment.

Can you confirm the toolchain can provide this ?

thanks
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

Well, the ppu compiler in ps3toolchain is currently just a standard PC64 compiler so you wouldn't be gaining anything by using it. :)
Vincent_M
Posts: 73
Joined: Tue Apr 03, 2007 4:16 am

Post by Vincent_M »

Gotta cygwin question for you guys. Here's my cygwin batch file:

Code: Select all

@echo off

C&#58;
chdir C&#58;\cygwin\bin

set PSPDEV=/usr/local/pspdev
set PATH=$PATH&#58;$PSPDEV/bin

export PS3DEV=/usr/local/ps3dev
export PATH=$PATH&#58;$PS3DEV/bin
export PATH=$PATH&#58;$PS3DEV/ppu/bin
export PATH=$PATH&#58;$PS3DEV/spu/bin

bash --login -i
I was following the instructions on how to run the ps3toolchain, but I kept getting these errors in the cygwin bash right before cygwin I was logged on:

Code: Select all

'export' is not recognized as an internal or external command,
operable program or batch file.
'export' is not recognized as an internal or external command,
operable program or batch file.
'export' is not recognized as an internal or external command,
operable program or batch file.
'export' is not recognized as an internal or external command,
operable program or batch file.
Anyway, I bet I have to update something in cygwin itself, but I'm not sure what that could be exactly. Also, the export command doesn't work for the pspsdk either. I tried it, but I've always had the pspsdk paths set using 'set' like seen above. That's how the psp-programming lessons showed it though.[/code]
2.6,CRACKED!
Posts: 18
Joined: Thu Jul 26, 2007 9:02 pm

Post by 2.6,CRACKED! »

well you would have to change export to set, and now you have two paths PSP, PS3 what i did was make two batch files. PSP.bat and PS3.bat that could solve other problems
Vincent_M
Posts: 73
Joined: Tue Apr 03, 2007 4:16 am

Post by Vincent_M »

Yeah, I changed everything fro 'export' to 'set' that last night, thinking it would work becuase I had the same issue with the pspsdk years ago. The pspsdk worked, but I got this error:

Code: Select all

$ ./toolchain.sh
ERROR&#58; Add /usr/local/ps3dev/bin to your path before continuing.
../depends/check-ps3dev.sh&#58; Failed.
I copied the script segment striaght out of the readme. Would adding the script directly to my path environment variable fix it?
2.6,CRACKED!
Posts: 18
Joined: Thu Jul 26, 2007 9:02 pm

Post by 2.6,CRACKED! »

well everytime i have to compile I always have to paste the export stuff, so same with compiling/building the toolchain
Vincent_M
Posts: 73
Joined: Tue Apr 03, 2007 4:16 am

Post by Vincent_M »

It works, but now I'm getting this:

Code: Select all

--18&#58;51&#58;06--  ftp&#58;//ftp.gnu.org/pub/gnu/binutils/binutils-2.17.tar.bz
  &#40;try&#58;11&#41; => `binutils-2.17.tar.bz2'
Connecting to ftp.gnu.org|140.186.70.20|&#58;21... connected.
Logging in as anonymous ...
Write failed, closing control connection.
Retrying.
I was able to go to ftp://ftp.gnu.org/pub/gnu/binutils/binutils-2.17.tar.bz through my web browser. I downloaded it and put it in the ps3toolchain folder. Yet, it's still trying to get this file. I used this tactic when installing the pspsdk, but it didn't work.
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

I'd be worried about the error, but if you really want to skip ahead you can drop the file you manually downloaded into the 'build' directory.
Vincent_M
Posts: 73
Joined: Tue Apr 03, 2007 4:16 am

Post by Vincent_M »

I tried that earlier, and I still got the same thing. This is the file I got:

binutils-2.17.tar.bz2

The script is running the ppu script, and so I thought the script was looking for a ppu-specific binutils (although this is a standard binutils package, and this process worked for the pspsdk). Are there any files I need besides this?
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

Are you out of disk space?
Vincent_M
Posts: 73
Joined: Tue Apr 03, 2007 4:16 am

Post by Vincent_M »

I've got about 10GB's left on my primary drive where cygwin is installed. Thanks for the help. I appriciate it. Also, I have the export code working in my logic script (.bash_profile). The reason why it wasn't working was because my login script wasn't being saved in unicode. I converted it, and it works like a charm. My current problem is that I'm getting this again:

Code: Select all

$ ./toolchain.sh
ERROR&#58; Set $PS3DEV before continuing.
../depends/check-ps3dev.sh&#58; Failed.
2.6,CRACKED!
Posts: 18
Joined: Thu Jul 26, 2007 9:02 pm

Post by 2.6,CRACKED! »

you have to do it each time you load that batch file. unless i hope theres a way you dont have to
Vincent_M
Posts: 73
Joined: Tue Apr 03, 2007 4:16 am

Post by Vincent_M »

There was a tutorial on the first page of this thread that explains how it should work in cygwin. It said I had to put those export lines in my .bash_profile file that located under my user name in cygwin. After that, I entered my information Still, I enter the four lines of script in manually into cygwin's shell, and the toolchain will contect to an ftp server to download the packages needed, but won't stay connected longer than a split second.
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

Find out why your machine can't keep a connection open and you might figure out your problem.
2.6,CRACKED!
Posts: 18
Joined: Thu Jul 26, 2007 9:02 pm

Post by 2.6,CRACKED! »

ages ago i had a full install and i did a complete search. I have no bash_profile =\
Vincent_M
Posts: 73
Joined: Tue Apr 03, 2007 4:16 am

Post by Vincent_M »

I've decided to ditch cygwin finally and install Ubuntu on my laptop's second hard drive. I have it installed now, but I don't know how to download the packages. I think it has to do with apt-get. I did this:

To download:

Code: Select all

apt-get -d source autoconf autogen automake bison flex imagemagick libsdl1.2-dev libtool ncurses-base patchutils pkg-config subversion texinfo wget gcc g++
To install:

Code: Select all

apt-get -s install autoconf autogen automake bison flex imagemagick libsdl1.2-dev libtool ncurses-base patchutils pkg-config subversion texinfo wget gcc g++
I tried to install the ps3toolchain, but I it tells me that I don't have autoconf installed (it would probably tell me that all the other packages wheren't installed to, if that was). Here's the message from the terminal:

Code: Select all

ls&#58; /usr/include/gmp.h&#58; No such file or directory
ERROR&#58; Install libgmp3 before continuing.
../depends/check-libgmp3.sh&#58; Failed.
ldesnogu
Posts: 94
Joined: Sat Apr 17, 2004 10:37 pm

Post by ldesnogu »

Vincent_M wrote:

Code: Select all

ls&#58; /usr/include/gmp.h&#58; No such file or directory
ERROR&#58; Install libgmp3 before continuing.
../depends/check-libgmp3.sh&#58; Failed.
It looks like you need to get gmp installed.
Laurent
Post Reply