Newbie Help Urgent !

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
KennyG
Posts: 3
Joined: Mon Oct 08, 2007 12:09 pm

Newbie Help Urgent !

Post by KennyG »

Question's:

1. What free compiler do I need & where can I get it ? to begin PS2 programming ! on Windows XP.

2. How do I setup the sugested compiler in question1, so that I can begin PS2 programming ?
KennyG
Posts: 3
Joined: Mon Oct 08, 2007 12:09 pm

Post by KennyG »

The answer to my own question's LoL !:

http://lukasz.dk/
KennyG
Posts: 3
Joined: Mon Oct 08, 2007 12:09 pm

Post by KennyG »

Now how do I use minGW with PS2ToolChain to make an .ELF file ?
User avatar
Jim
Posts: 476
Joined: Sat Jul 02, 2005 10:06 pm
Location: Sydney
Contact:

Post by Jim »

You wouldn't - you'd use Mingw to build Windows apps.

Jim
BlackMamba7
Posts: 2
Joined: Tue Oct 23, 2007 12:12 am
Contact:

Post by BlackMamba7 »

Anyone else tried to use the blog listed above to run the toolchain?

I found I had errors, and they were because the blog says:-

"Now extract the contents of the mingw-packages-ps2dev archive into the directory where you installed MinGW, when asked if you wish to overwrite files which already exist, choose no to all. You are now ready to build the PS2 toolchains."

But you then get errors saying it doesn't know where svn or wget are...

So I created a folder '/usr/local/'
and put in it
ps2dev/ps2sdk/ folder
and then all the stuff from the mingw-packages-ps2dev archive...

and now it's working fine....

Is my method just screwed and it works for me, or is this an error with the tutorial?
BlackMamba7
Posts: 2
Joined: Tue Oct 23, 2007 12:12 am
Contact:

Post by BlackMamba7 »

Ok, when I said it worked fine, I was wrong...

It was working fine, and was going through the lengthy process of running the toolchain.....when finally I thought the end was near, and up popped an error....

c:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\ming32\bin\ld.exe: cannot find -lpthreadGC2
collect2: ld returned 1 exit status
make: *** [bin/fsclient] Error 1
../scripts/006-ps2client.sh: Failed.

Anyone else get this problem? If not, why am I getting it?

Do I have to start from scratch again, or can I keep going from this point somehow???

I have bin, dvp, ee, and iop folders that seem to be properly filled....and the ps2sdk is only 3.49MB (where the downloaded, pre-compiled version is about 5.56MB).

Cheers....I can't wait to start programming...
cosmito
Posts: 307
Joined: Sun Mar 04, 2007 4:26 am
Location: Portugal
Contact:

Post by cosmito »

I neved user MinGW. Instead I use an old version of cygwin. The toolchain will not build under newer versions of cygwin as you probably read on lucasz blog. Anyway, if you and to try the cygwin you can look for the file ed2k://|file|[Cygwin].cygwin-cd-release-20051102.iso|1194323968|F43228693B5E32C2581B93F1481D0217| using a P2P client.

If you have trouble in finding it, just PM me.
Post Reply