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 

Toolchain Installation

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



Joined: 02 Aug 2006
Posts: 20
Location: Brazil

PostPosted: Tue Aug 22, 2006 11:03 pm    Post subject: Toolchain Installation Reply with quote

I won't give up, but it's been harder then I thought.


I run ./toolchain and receive the following message:

compiler error in schedule_block, at haifa-sched.c:1714
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[3]: *** [locale-inst.lo] Error 1
make[3]: Leaving directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3/s
rc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3'
make: *** [all-target-libstdc++-v3] Error 2

ERROR BUILDING GCC (gcc-3.2.2 ee C++)

Time = 1:10min
===============================================

Then I tried:

CC=gcc-3.4 sh ./toolchain

checking build system type... i686-pc-cygwin
../configure: line 2098: gcc-3.4: command not found
../configure: line 2209: gcc-3.4: command not found
*** The command 'gcc-3.4 -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

ERROR CONFIGURING BINUTILS (binutils-2.14 ee)

Time 00:06min
===============================================

I've already dowgraded some packages too:

* cygwin : from (1.5.21-2) to 1.5.18-1
* coreutils : from (5.97-1) to 5.3.0-9
* findutils: from (4.3.0-2) to 4.2.25-2
* sed : from (4.1.5-2) to 4.1.4-1

and I receive something like that:

Windows prompt: ""it Couldn't be possible to find the point of entrance of the procedure "futimes" in the lib of dinamic cygwin1.dll"

15:12:35 (22.92 KB/s) - `binutils-2.14.tar.gz' saved [14269432]
./toolchain.sh: line 144: cd: binutils-2.14: No such file or directory
can't find file to patch at input line 9
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: config.sub

|RCS file: /home/ps2cvs/binutils-2.14/config.sub,v
|retrieving revision 1.1.1.1
|retrieving revision 1.2
|diff -b -u -r1.1.1.1 -r1.2
|--- config.sub 1 Dec 2004 04:06:27 -0000 1.1.1.1
|+++ config.sub 1 Dec 2004 04:28:01 -0000 1.2
--------------------------
File to patch:

time = 00:07min
===========================================

please, can anyone give me a help??
Back to top
View user's profile Send private message Send e-mail
frcol



Joined: 02 Aug 2006
Posts: 20
Location: Brazil

PostPosted: Wed Aug 23, 2006 10:28 pm    Post subject: Reply with quote

Why the toochain uses GCC-3.2.2 if the GCC is in version 4.4-1??
How can I force it to use the actual version??

as you see I used "CC=gcc-3.4 sh ./toolchain" but it returned me an error.
Back to top
View user's profile Send private message Send e-mail
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Thu Aug 24, 2006 3:11 am    Post subject: Reply with quote

Since gcc-4.x can't compile the gcc-3.x toolchain for the PS2, you must install gcc-3.x to compile the toolchain.
Back to top
View user's profile Send private message Visit poster's website
frcol



Joined: 02 Aug 2006
Posts: 20
Location: Brazil

PostPosted: Thu Aug 24, 2006 4:54 am    Post subject: Reply with quote

Sorry, I made a mistake, my actual version of CGG is 3.4.4-1.
But, I'll try to install some older version.

Thanks for the replay.
Back to top
View user's profile Send private message Send e-mail
frcol



Joined: 02 Aug 2006
Posts: 20
Location: Brazil

PostPosted: Thu Aug 24, 2006 7:27 am    Post subject: Reply with quote

I've tried GCC-3.3.3-3 and it doens't work.
Back to top
View user's profile Send private message Send e-mail
cloudhunter



Joined: 17 Aug 2006
Posts: 86

PostPosted: Thu Aug 24, 2006 8:17 am    Post subject: Reply with quote

More information needed, what error did you have? What did you set CC to etc...

It seems like there is a problem with the version of cygwin you have looking at your earlier post.
_________________
:)
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
frcol



Joined: 02 Aug 2006
Posts: 20
Location: Brazil

PostPosted: Fri Aug 25, 2006 5:47 am    Post subject: Reply with quote

My actual packages versions are:

Cygwin DLL version info:
DLL version: 1.5.21
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 156
Shared data: 4
DLL identifier: cygwin1
Mount registry: 2
Cygnus registry name: Cygnus Solutions
Cygwin registry name: Cygwin
Program options name: Program Options
Cygwin mount registry name: mounts v2
Cygdrive flags: cygdrive flags
Cygdrive prefix: cygdrive prefix
Cygdrive default prefix:
Build date: Sun Jul 30 14:21:47 EDT 2006
Shared id: cygwin1S4


Can't find the cygrunsrv utility, skipping services check.


Cygwin Package Information
Last downloaded files to: E:\PS2-Developer\Outros
Last downloaded files from: ftp://bo.mirror.garr.it/mirrors/sourceware.org/cygw
n

Package Version
_update-info-dir 00423-1
alternatives 1.3.20a-2
ash 20040127-3
base-files 3.7-1
base-passwd 2.2-1
bash 3.1-6
binutils 20060817-1
bzip2 1.0.3-1
coreutils 5.97-1
crypt 1.1-1
cygutils 1.3.0-1
cygwin 1.5.21-2
cygwin-doc 1.4-4
diffutils 2.8.7-1
editrights 1.01-1
expat 1.95.8-1
findutils 4.3.0-2
gawk 3.1.5-4
gcc 3.4.4-1
gcc-core 3.4.4-1
gcc-g++ 3.4.4-1
gcc-mingw-core 20050522-1
gcc-mingw-g++ 20050522-1
gdbm 1.8.3-7
grep 2.5.1a-2
groff 1.18.1-2
gzip 1.3.5-2
less 381-1
libapr1 1.2.7-1
libaprutil1 1.2.7-1
libbz2_1 1.0.3-1
libcharset1 1.9.2-2
libdb4.2 4.2.52-1
libgdbm 1.8.0-5
libgdbm-devel 1.8.3-7
libgdbm3 1.8.3-3
libgdbm4 1.8.3-7
libiconv 1.9.2-2
libiconv2 1.9.2-2
libintl 0.10.38-3
libintl1 0.10.40-1
libintl2 0.12.1-3
libintl3 0.14.5-1
libncurses5 5.2-1
libncurses6 5.2-8
libncurses7 5.3-4
libncurses8 5.5-2
libneon25 0.25.5-1
libpcre0 6.6-1
libpopt0 1.6.4-4
libreadline4 4.1-2
libreadline5 4.3-5
libreadline6 5.1-5
libxml2 2.6.26-1
login 1.9-7
make 3.81-1
man 1.5p-1
mingw-runtime 3.10-1
mktemp 1.5-3
ncurses 5.5-2
openssl 0.9.8b-1
openssl097 0.9.7j-1
patch 2.5.8-8
run 1.1.10-1
sed 4.1.5-2
subversion 1.3.2-1
tar 1.15.91-1
termcap 20050421-1
terminfo 5.5_20060323-1
texinfo 4.8-3
w32api 3.7-1
wget 1.10.2-1
which 1.7-1
zlib 1.2.3-1

I'm copying de ps2toolchain folder into the /home/myUserName/ folder.
Then I:

chmod a+x ./toolchain.sh
./toolchain.sh

After 1 hour i receive the following message:

compiler error in schedule_block, at haifa-sched.c:1714
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[3]: *** [locale-inst.lo] Error 1
make[3]: Leaving directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3/s
rc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3'
make: *** [all-target-libstdc++-v3] Error 2

ERROR BUILDING GCC (gcc-3.2.2 ee C++)


I've been trying to install this from 1 month.
Back to top
View user's profile Send private message Send e-mail
evilo



Joined: 22 Apr 2004
Posts: 230

PostPosted: Fri Aug 25, 2006 5:55 am    Post subject: Reply with quote

Hi frcol,

Sorry but it seems that once again you don't have the good package version for the different package of cygwin

I would suggest you to make a fresh reinstall of cygwin USING this time the package version listed by bravedog in this post :

be careful specially with the following ones (quote from bravedog again)

Quote:

evilo,
It seems to be related to some new cygwin packages that are on the "Curr" catagory or (recommended list).
Oobles helped me out by posting what he is using.
I downgraded the following packages:
* cygwin : from 1.5.19-4 to 1.5.18-1
* coreutils : from 5.93-3 to 5.3.0-9
* findutils: from 4.2.27-1 to 4.3.25-2
* sed : from 4.1.5-1 to 4.1.4-1


else, you still can install linux or something :)

good luck !
_________________
http://psxdev.info/evilo/
Back to top
View user's profile Send private message Visit poster's website
frcol



Joined: 02 Aug 2006
Posts: 20
Location: Brazil

PostPosted: Sat Aug 26, 2006 3:13 am    Post subject: Reply with quote

Is there an easier way to download older versions?

My cygwin setup installation doesn't have the older versions, so I'm entering by ftp into the sites and downloading the package to my computer then I run the setuo and install from my HD.
Back to top
View user's profile Send private message Send e-mail
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Sat Aug 26, 2006 3:46 am    Post subject: Reply with quote

I'd recommend not using Cygwin at all, personally.
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 -> PS2 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