| View previous topic :: View next topic |
| Author |
Message |
spyk
Joined: 22 Mar 2006 Posts: 14
|
Posted: Wed May 17, 2006 1:33 am Post subject: PSPSDK Setup.... |
|
|
Hi all!
I'm installing PSPSDK for make homebrew in C for my psp...
I have already setup Cygwin, lauchn the psptoolchain, and now I want writte an Helloworld...
I lauchn Cygwin, I go in my directory
| Code: |
CD projets
CD Hello World
|
I write
And it say :
| Code: |
Make: psp-config: command not found
Makefile:12 /lib/build.mak: No such file or directory
make: *** No rule to make target '/lib/build.mak'. Stop.
|
I think it"s because the PSPSDK variable isn't declared but i've writed in the cygwin.bat :(
Can anyone help me?
Thank You!
My File :
Makefile :
| Code: |
TARGET = hello
OBJS = main.o
CFLAGS = -O2 -G0 -Wall
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)
EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = Hello World
PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak
|
Cygwin.bat
| Code: |
@echo off
C:
chdir C:\cygwin\bin
set path=%path%;C:/cygwin/usr/local/pspdev/bin
set PSPSDK=C:/cygwin/usr/local/pspdev/psp/sdk
bash --login -i
|
Sorry for my bad english... |
|
| Back to top |
|
 |
0okm0000

Joined: 13 Jan 2006 Posts: 116
|
Posted: Wed May 17, 2006 2:04 am Post subject: |
|
|
| Code: | @echo off
C:
chdir C:\cygwin\bin
set PSPDEV=/usr/local/pspdev
set PSPSDK=/usr/local/pspdev/psp/sdk
set PATH=%PATH%;%PSPDEV%/bin;%PSPSDK%/bin;/usr/include/mingw
bash --login -i
|
_________________ PSP hardware hack
http://0okm.blogspot.com/ |
|
| Back to top |
|
 |
spyk
Joined: 22 Mar 2006 Posts: 14
|
Posted: Wed May 17, 2006 4:00 am Post subject: |
|
|
I've changed my cygwin.bat with your, but it say too:
| Code: |
Make: psp-config: command not found
Makefile:12 /lib/build.mak: No such file or directory
make: *** No rule to make target '/lib/build.mak'. Stop. |
Why have I always unique problem inthe world!?? |
|
| Back to top |
|
 |
zshadow
Joined: 26 Dec 2005 Posts: 42
|
Posted: Wed May 17, 2006 4:05 am Post subject: |
|
|
| Code: | | C:\cygwin\home\Administrator |
add to end of file:
| Code: | ## PSPDEV PATH SETTINGS
export PATH="/usr/local/pspdev/bin:$PATH" |
|
|
| Back to top |
|
 |
spyk
Joined: 22 Mar 2006 Posts: 14
|
Posted: Wed May 17, 2006 4:17 am Post subject: |
|
|
Already the same error...
Ps : C:\cygwin\home\Administrator doesn't exist of my computer...
My session name is "tous" |
|
| Back to top |
|
 |
Gary13579
Joined: 15 Aug 2005 Posts: 93
|
Posted: Wed May 17, 2006 6:04 am Post subject: |
|
|
Then open up c:\cygwin\home\tous\.bashrc and add what he said to the end of it.
Also try using the command "psp-gcc -v". This should show some info about the PSP GCC compiler, else spit out an error about command not found. |
|
| Back to top |
|
 |
dot_blank

Joined: 28 Sep 2005 Posts: 498 Location: Brasil
|
Posted: Wed May 17, 2006 7:00 am Post subject: |
|
|
ookmoo uses mingw so just edit for cygwin
a really much simpler way is to open up your
computer properties and go into enviroment
settings and then edit your PATH there and then
you will not have to rely on cygwin bash and you
could easily use cmd prompt :) _________________ 10011011 00101010 11010111 10001001 10111010 |
|
| Back to top |
|
 |
spyk
Joined: 22 Mar 2006 Posts: 14
|
Posted: Wed May 17, 2006 8:39 pm Post subject: |
|
|
Same error! lol
I've writed psp-gcc -v :
| Code: |
$ psp-gcc -v
Using built-in specs.
Target: psp
Configured with: ../configure --prefix=/usr/local/pspdev --target=psp --enable-l
anguages=c --with-newlib --without-headers
Thread model: single
gcc version 4.0.2 (PSPDEV 20051022)
|
|
|
| Back to top |
|
 |
Gary13579
Joined: 15 Aug 2005 Posts: 93
|
Posted: Thu May 18, 2006 5:55 am Post subject: |
|
|
| As far as I can tell, $PSPSDK isn't getting set properly. Try typing in "echo $PSPDEV". |
|
| Back to top |
|
 |
Viper8896
Joined: 26 Jan 2006 Posts: 110
|
Posted: Thu May 18, 2006 4:13 pm Post subject: |
|
|
| shouldnt this be in psp sdk support? moderator move this please |
|
| Back to top |
|
 |
spyk
Joined: 22 Mar 2006 Posts: 14
|
Posted: Fri May 19, 2006 12:58 am Post subject: |
|
|
| Code: |
tous@famille ~
$ echo $PSPDEV
/usr/local/pspdev |
:]
But when I write MAKE, it say the the always same error...
:[ |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Fri May 19, 2006 1:02 am Post subject: |
|
|
| Moved to PSPSDK Support and Development. |
|
| Back to top |
|
 |
mafia1ft
Joined: 29 Mar 2006 Posts: 17
|
Posted: Mon May 22, 2006 5:45 pm Post subject: |
|
|
| iget the same error and i'm geting really pi**ed off help me |
|
| Back to top |
|
 |
|