Page 1 of 1

cant compile anything...

Posted: Fri Jul 28, 2006 8:25 am
by ghostboy78
Ok... i think i got everything i need to compile .elf's but dont know how to =( so far i only got that precompiled toolchain for win32 installed. whats the command to compile elfs.

Posted: Fri Jul 28, 2006 5:06 pm
by Ramon
to compile, go to the folder of your project using cygwin and then type make.

Then ta-da!

Posted: Sat Jul 29, 2006 2:11 pm
by ghostboy78
ok so i typed, make "C:\ps2dev\ps2sdk\samples\cube\cube.c". then i got this "make: Nothing to be done for `C:\ps2dev\ps2sdk\samples\cube\cube.c'.

anybody know the error?

Posted: Sat Jul 29, 2006 2:29 pm
by ubergeek42
navigate to the folder(using the cd command), then when in the folder, simply type 'make'.

Posted: Sat Jul 29, 2006 2:56 pm
by Ramon
make sure that you have a makefile also... ;)

Posted: Sat Jul 29, 2006 3:03 pm
by ghostboy78
where do i get makefile >.<

Posted: Sat Jul 29, 2006 3:47 pm
by Ramon
Take a look at the example makefiles found at the ps2sdk. I'm sure they can help...

Posted: Sat Jul 29, 2006 6:28 pm
by Drakonite
Generic makefile primer:
http://www.pineight.com/gba/faq/make.html

Taking a look at the samples and of some of the stuff in svn will help a lot. There are a lot of predefined rules provided for you with ps2sdk.

Posted: Sun Jul 30, 2006 2:12 am
by ooPo
Just type 'make'. You don't need to specify the file name.

Posted: Wed Aug 16, 2006 10:36 pm
by bukarkimaster
okay this is what i type C:\cygwin\usr\local\ps2dev\ps2sdk\samples\hello make and all i get is this is a directory what am i doing wrong thnx:P

Posted: Thu Aug 17, 2006 3:24 am
by ooPo
Use the command called 'cd' to change to that directory, then type 'make'.

Posted: Sun Aug 20, 2006 10:01 pm
by bukarkimaster
yay it compiled thanks oopo i didnt fullyunderstand wat ppl ment bye cd into a directory :P