| View previous topic :: View next topic |
| Author |
Message |
ghostboy78
Joined: 24 Jul 2006 Posts: 22
|
Posted: Fri Jul 28, 2006 8:25 am Post subject: cant compile anything... |
|
|
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. _________________ :D |
|
| Back to top |
|
 |
Ramon
Joined: 29 Jun 2006 Posts: 17
|
Posted: Fri Jul 28, 2006 5:06 pm Post subject: |
|
|
to compile, go to the folder of your project using cygwin and then type make.
Then ta-da! |
|
| Back to top |
|
 |
ghostboy78
Joined: 24 Jul 2006 Posts: 22
|
Posted: Sat Jul 29, 2006 2:11 pm Post subject: |
|
|
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? _________________ :D |
|
| Back to top |
|
 |
ubergeek42
Joined: 13 Jul 2005 Posts: 83
|
Posted: Sat Jul 29, 2006 2:29 pm Post subject: |
|
|
| navigate to the folder(using the cd command), then when in the folder, simply type 'make'. |
|
| Back to top |
|
 |
Ramon
Joined: 29 Jun 2006 Posts: 17
|
Posted: Sat Jul 29, 2006 2:56 pm Post subject: |
|
|
| make sure that you have a makefile also... ;) |
|
| Back to top |
|
 |
ghostboy78
Joined: 24 Jul 2006 Posts: 22
|
Posted: Sat Jul 29, 2006 3:03 pm Post subject: |
|
|
where do i get makefile >.< _________________ :D |
|
| Back to top |
|
 |
Ramon
Joined: 29 Jun 2006 Posts: 17
|
Posted: Sat Jul 29, 2006 3:47 pm Post subject: |
|
|
Take a look at the example makefiles found at the ps2sdk. I'm sure they can help...
Last edited by Ramon on Sat Jul 29, 2006 8:29 pm; edited 2 times in total |
|
| Back to top |
|
 |
Drakonite Site Admin

Joined: 17 Jan 2004 Posts: 989
|
Posted: Sat Jul 29, 2006 6:28 pm Post subject: |
|
|
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. _________________ Shoot Pixels Not People!
Makeshift Development |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Sun Jul 30, 2006 2:12 am Post subject: |
|
|
| Just type 'make'. You don't need to specify the file name. |
|
| Back to top |
|
 |
bukarkimaster
Joined: 10 Aug 2006 Posts: 6
|
Posted: Wed Aug 16, 2006 10:36 pm Post subject: |
|
|
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 _________________ I live on a deserted spoon:P |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Thu Aug 17, 2006 3:24 am Post subject: |
|
|
| Use the command called 'cd' to change to that directory, then type 'make'. |
|
| Back to top |
|
 |
bukarkimaster
Joined: 10 Aug 2006 Posts: 6
|
Posted: Sun Aug 20, 2006 10:01 pm Post subject: |
|
|
yay it compiled thanks oopo i didnt fullyunderstand wat ppl ment bye cd into a directory :P _________________ I live on a deserted spoon:P |
|
| Back to top |
|
 |
|