./toolchain.sh

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

Moderators: cheriff, TyRaNiD

Post Reply
mafia1ft
Posts: 17
Joined: Wed Mar 29, 2006 4:45 pm

./toolchain.sh

Post by mafia1ft »

for all you people having problams with ./toolchain.sh delete your old ./toolchain.sh and use my mode one that uses different host if u post this patch anywhere else plz giv credit to mafia1ft
http://psp-rss.atspace.com/toolchain.sh
if their are any questionsplz ask here or email me ( [email protected] )
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

Code: Select all

$ diff toolchain.sh ../toolchain.sh
184c184
<      $WGET ftp&#58;//ftp.gnu.org/pub/gnu/binutils/$BINUTILS.tar.gz || &#123; echo "ERROR DOWNLOADING BINUTILS"; exit; &#125;
>      $WGET http&#58;//ftp.gnu.org/gnu/binutils/$BINUTILS.tar.gz || &#123; echo "ERROR DOWNLOADING BINUTILS"; exit; &#125;
194c194
<      $WGET ftp&#58;//ftp.gnu.org/pub/gnu/gcc/$GCC/$GCC.tar.bz2 || &#123; echo "ERROR DOWNLOADING GCC"; exit; &#125;
>      $WGET http&#58;//mirrors.usc.edu/pub/gnu/gcc/$GCC/$GCC.tar.bz2 || &#123; echo "ERROR DOWNLOADING GCC"; exit; &#125;
204c204 
<      $WGET ftp&#58;//sources.redhat.com/pub/newlib/$NEWLIB.tar.gz || &#123; echo "ERROR DOWNLOADING NEWLIB"; exit; &#125;
>      $WGET http&#58;//gnuarm.org/$NEWLIB.tar.gz || &#123; echo "ERROR DOWNLOADING NEWLIB"; exit; &#125; 
Why exactly did you need to change where the source downloads from?
mafia1ft
Posts: 17
Joined: Wed Mar 29, 2006 4:45 pm

Post by mafia1ft »

because the old links are dead and thats why it wouldn't work
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

Neither gnu.org nor redhat.com are 'old links', nor are they 'dead'. If I was also paranoid, I would also be highly suspect of those other links as they are not likely to be authoritative and may even be trojaned source... if I was paranoid.

But since I'm not, Ill address the most likely cause. Perhaps there's a problem on your end you should 'plz give credit to' instead.
mafia1ft
Posts: 17
Joined: Wed Mar 29, 2006 4:45 pm

Post by mafia1ft »

why is it with the old toolchain.sh i got errors and with mine it all worked (no errors) and i am now makeing homebrews ???
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

Again, I suggest that there's a problem specific to your system that is making this the case. Further, this would mean only you could answer that question.
User avatar
groepaz
Posts: 305
Joined: Thu Sep 01, 2005 7:44 am
Contact:

Post by groepaz »

is wget using "active" ftp by default maybe? in some configurations that doesnt work properly.
Post Reply