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 

Compiler ?

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



Joined: 15 Jul 2004
Posts: 17

PostPosted: Fri Jul 23, 2004 9:37 am    Post subject: Compiler ? Reply with quote

How do i open the toolchain file that autobuilds your toolchain on OoPo's site on Windows? It wont open the .sh extension
Back to top
View user's profile Send private message AIM Address
pixel



Joined: 30 Jan 2004
Posts: 791

PostPosted: Fri Jul 23, 2004 9:43 am    Post subject: Reply with quote

You need cygwin's environment. Go to http://www.cygwin.com and click on the "install now" button.
_________________
pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department.
Back to top
View user's profile Send private message
XAN



Joined: 15 Jul 2004
Posts: 17

PostPosted: Fri Jul 23, 2004 9:53 am    Post subject: Reply with quote

I have cygwin set up and I can run it but How do I open the toolchain.sh file with it?
Back to top
View user's profile Send private message AIM Address
pixel



Joined: 30 Jan 2004
Posts: 791

PostPosted: Fri Jul 23, 2004 10:25 am    Post subject: Reply with quote

You open cygwin's shell, you go to the directory which contains the toolchain.sh script, and you just run it by typing "./toolchain.sh"
_________________
pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department.
Back to top
View user's profile Send private message
XAN



Joined: 15 Jul 2004
Posts: 17

PostPosted: Fri Jul 23, 2004 10:43 am    Post subject: Reply with quote

im a big noob at this. How do I open a directory? I tried draggign the file into the window and it brought up a new blank window
Back to top
View user's profile Send private message AIM Address
blackdroid



Joined: 17 Jan 2004
Posts: 564
Location: Sweden

PostPosted: Fri Jul 23, 2004 10:59 am    Post subject: Reply with quote

I think its time for you to read up on some bash ( wich is the cygwin shell ) tutorial, also on windows you could just skip the toolchain build and install lukasz win32 build wich you can find on ps2dev.org -> tools, but some level of shell knowledge will still be required in the long run.
_________________
Kung VU
Back to top
View user's profile Send private message Visit poster's website
Darren



Joined: 12 Jul 2004
Posts: 23

PostPosted: Fri Jul 23, 2004 9:36 pm    Post subject: Reply with quote

download losers latest ps2dev precompiled bins. It's still the old PS2Lib but it works great for some of the demo sources and samples that are on ps2dev.org :)

http://www.internalreality.com/
Back to top
View user's profile Send private message
jay69dogg



Joined: 22 Jul 2004
Posts: 3

PostPosted: Sun Jul 25, 2004 4:15 am    Post subject: Reply with quote

I am following ooPo's toolchain.sh instructions. I'm using Cygwin in WindowsXP Home. I ran toolchain.sh in the Bash Shell by typing c:/toolchain.sh. It said I was missing wget, binutils-2.14.tar.gz,
gcc-3.2.2.tar.gz, newlib-1.10.0.tar.gz, and ps2client-2.0.0.tar.gz. I downloaded them and placed them in folder c:cygwin/home/j. I downladed wget-1.9.tar. I ran toolchain.sh again and it started opening a bunch of files. Then got the following lines:
cvs: not found
wget: not found
blah
blah
blah
creating cache ./config.cache
checking host system type... i686-pc-cygwin
checking target system type... Invalid configuration 'ee': machine 'ee' not recognized

checking build system type... i686-pc-cygwin
cc: not found
*** The command 'cc -o conftest -g conftest.c' failed
*** You must set the enviroment variable CC to a working compiler.
ERROR CONFIGURING BINUTLIS (binutils-2.14 ee)

How do I configure the enviroment variable CC to a working compiler? Any other info about this error?

How do install wget in Cygwin? Do I place it in the folder like I stated above? It did not load that way so I'm guessing NO. Do I need a different version of wget?

Also, is there info on how to use Cygwin? I'm new to unix and programming. I need some more info to read.

I'm not sure how to type in commands in cygwin. If I hit "Enter", I get a new command prompt $. How do you drop down to the next line besides using the space bar?

P.S. Thanks ooPo for the website. I'm starting to understand it a little bit.
_________________
Jay69Dogg
No programming experience
Back to top
View user's profile Send private message
blackdroid



Joined: 17 Jan 2004
Posts: 564
Location: Sweden

PostPosted: Sun Jul 25, 2004 4:37 am    Post subject: Reply with quote

install cygwin with the developer package so you get cc, make and bunch of other utilities, while you are at it make sure you install wget ( in the installer setup for cygwin )
_________________
Kung VU
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