 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
love4myxsg
Joined: 17 Jan 2009 Posts: 2
|
Posted: Sun Jan 18, 2009 3:33 am Post subject: psp-gcc-4.3.2 not working?PLEASE. |
|
|
first of all. I use Cygwin, with psp-gcc-4.1.2.exe, all is ok, eboot can be build successfully.
and
i got psp-gcc-4.3.2.exe from Minimalist PSPSDK.here:
http://sourceforge.net/project/showfiles.php?group_id=223830;
here are 2 version in my pspdev/bin now :
| Quote: | TONYLIU@W /pspdev/bin
$ ls psp-gcc*
psp-gcc-4.1.2.exe
psp-gcc-4.3.2.exe
psp-gccbug |
<========if i use " cp psp-gcc-4.1.2.exe psp-gcc.exe
then i open a helloworld project for PSP. make it,
all ok, EBOOT.PBP can be created successfully.
| Quote: | $ make
psp-gcc -I. -If:/cygwin/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=1
50 -c -o main.o main.c
psp-gcc -I. -If:/cygwin/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=1
50 -L. -Lf:/cygwin/pspdev/psp/sdk/lib main.o -lpspdebug -lpspdisplay -lpspge
-lpspctrl -lpspsdk -lc -lpspnet -lpspnet_inet -lpspnet_apctl -lpspnet_resolver
-lpsputility -lpspuser -lpspkernel -o hello.elf
psp-fixup-imports hello.elf
mksfo 'Hello World' PARAM.SFO
psp-strip hello.elf -o hello_strip.elf
pack-pbp EBOOT.PBP PARAM.SFO NULL \
NULL NULL NULL \
NULL hello_strip.elf NULL
[0] 408 bytes | PARAM.SFO
[1] 0 bytes | NULL
[2] 0 bytes | NULL
[3] 0 bytes | NULL
[4] 0 bytes | NULL
[5] 0 bytes | NULL
[6] 78112 bytes | hello_strip.elf
[7] 0 bytes | NULL
rm -f hello_strip.elf
TONYLIU@W ~/p_p/HelloWorld
$ psp-gcc --version
psp-gcc.exe (GCC) 4.1.2 devkitPSP release 11 (PSPDEV 20060507)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
<=======if i use " cp psp-gcc-4.3.2.exe psp-gcc.exe
then i open a helloworld project for PSP. make it,
i got error info like this:
| Quote: | TONYLIU@W ~/p_p/HelloWorld
$ make
psp-gcc -I. -If:/cygwin/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=1
50 -c -o main.o main.c
psp-gcc.exe: CreateProcess: No such file or directory
make: *** [main.o] error 1
TONYLIUg@W ~/p_p/HelloWorld
$ psp-gcc --version
psp-gcc.exe (GCC) 4.3.2
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
<==========i think some files here maybe wrong with my files
,could someone help me out , THANKS very much !!!
i dont wanna use old version if we have new one. please.
ps:with4.3.2, something wrong?
| Quote: | TONYLIU@W /pspdev/lib/gcc/psp/4.3.2
$ ls -l
total 33676
-rwxrwxrwx 1 TONYLIU None 6764544 Nov 5 10:24 cc1.exe
-rwxrwxrwx 1 TONYLIU None 6839296 Nov 5 10:24 cc1obj.exe
-rwxrwxrwx 1 TONYLIU None 7545344 Nov 5 10:24 cc1objplus.exe
-rwxrwxrwx 1 TONYLIU None 7467008 Nov 5 10:24 cc1plus.exe
-rwxrwxrwx 1 TONYLIU None 143872 Nov 5 10:24 collect2.exe
-rwxrwxrwx 1 TONYLIU None 2604 Nov 5 10:24 crtbegin.o
-rwxrwxrwx 1 TONYLIU None 1652 Nov 5 10:24 crtend.o
-rwxrwxrwx 1 TONYLIU None 1616 Nov 5 10:24 crti.o
-rwxrwxrwx 1 TONYLIU None 1588 Nov 5 10:24 crtn.o
drwxrwxrwx+ 4 TONYLIU None 4096 Jan 14 21:22 include
drwxrwxrwx+ 2 TONYLIU None 0 Jan 14 21:22 include-fixed
drwxrwxrwx+ 3 TONYLIU None 4096 Jan 16 19:25 install-tools
-rwxrwxrwx 1 TONYLIU None 5650110 Nov 5 10:24 libgcc.a
-rwxrwxrwx 1 TONYLIU None 35390 Nov 5 10:24 libgcov.a |
ps: but with 4.1.2, that's ok
| Quote: | TONYLIU@W /pspdev/lib/gcc/psp/4.1.2
$ ls -l
total 10828
-rwxrwxrwx 1 TONYLIU None 5052928 Apr 14 2007 cc1.exe
-rwxrwxrwx 1 TONYLIU None 5682688 Apr 14 2007 cc1plus.exe
-rwxrwxrwx 1 TONYLIU None 112640 Apr 14 2007 collect2.exe
-rwxrwxrwx 1 TONYLIU None 2508 Apr 14 2007 crtbegin.o
-rwxrwxrwx 1 TONYLIU None 1688 Apr 14 2007 crtend.o
-rwxrwxrwx 1 TONYLIU None 815 Apr 14 2007 crti.o
-rwxrwxrwx 1 TONYLIU None 779 Apr 14 2007 crtn.o
drwxrwxrwx+ 3 TONYLIU None 4096 Jan 16 19:42 include
drwxrwxrwx+ 3 TONYLIU None 4096 Jan 16 19:30 install-tools
-rwxrwxrwx 1 TONYLIU None 196188 Apr 14 2007 libgcc.a
-rwxrwxrwx 1 TONYLIU None 10666 Apr 14 2007 libgcov.a |
|
|
| Back to top |
|
 |
love4myxsg
Joined: 17 Jan 2009 Posts: 2
|
Posted: Sun Jan 18, 2009 3:42 am Post subject: ps:psp-g++.exe have the same problem. |
|
|
| Quote: | $ psp-g++ --version
psp-g++.exe (GCC) 4.3.2
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
if i try to compile smpeg-psp like this (downloaded from ps2dev.org, this is part of psptoolchains)
| Quote: | TONYLIU@W ~/TONYLIU/trunk/psplibraries/scripts
$ ./022-smpeg-psp.sh
?\231?\137?\136?\230?\156?\172 3?\227?\128?\130
rm -f libsmpeg.a MPEG.o MPEGfilter.o MPEGlist.o MPEGring.o MPEGstream.o MPEGsys
tem.o smpeg.o audio/bitwindow.o audio/filter_2.o audio/filter.o audio/hufftable.
o audio/MPEGaudio.o audio/mpeglayer1.o audio/mpeglayer2.o audio/mpeglayer3.o aud
io/mpegtable.o audio/mpegtoraw.o PARAM.SFO EBOOT.PBP
psp-g++ -I. -If:/cygwin/pspdev/psp/sdk/include -O2 -Wall -g `f:/cygwin/pspdev/p
sp/bin/sdl-config --cflags` -I. -If:/cygwin/pspdev/psp/sdk/include -O2 -Wall -g
`f:/cygwin/pspdev/psp/bin/sdl-config --cflags` -fno-exceptions -fno-rtti -D_PSP
_FW_VERSION=150 -c -o MPEG.o MPEG.cpp
psp-gcc -I. -If:/cygwin/pspdev/psp/sdk/include -O2 -Wall -g `f:/cygwin/pspdev/p
sp/bin/sdl-config --cflags` -D_PSP_FW_VERSION=150 -c -o MPEGfilter.o MPEGfilte
r.c
psp-gcc.exe: CreateProcess: No such file or directory
make: *** [MPEGfilter.o] error 1
make: ***waiting ....
psp-g++.exe: CreateProcess: No such file or directory
make: *** [MPEG.o] error 1 |
|
|
| Back to top |
|
 |
Heimdall
Joined: 10 Nov 2005 Posts: 259 Location: Netherlands
|
Posted: Mon Jan 19, 2009 6:09 pm Post subject: |
|
|
MinPSPW is a standalone SDK it doesn't need Cygwin, however if you want to have cygwin it works out of the box without issues as long as:
1) install PSPSDK to a folder in your windows machine without whitespaces on the name
2) do not declare extra environment variables
For example:
I've installed it to C:\pspsdk
I open my cygwin shell (which has no other SDK installed only some utilities and GCC for windows)
and typed:
| Code: |
paulo@funstation ~
$ psp-gcc --version
psp-gcc.exe (GCC) 4.3.2
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
paulo@funstation ~
$ cd C:/
paulo@funstation /cygdrive/c
$ cd pspsdk/psp/sdk/samples/gu/cube/
paulo@funstation /cygdrive/c/pspsdk/psp/sdk/samples/gu/cube
$ ls
Makefile cube.c logo.raw
paulo@funstation /cygdrive/c/pspsdk/psp/sdk/samples/gu/cube
$ make
psp-gcc -I. -Ic:/pspsdk/psp/sdk/include -G0 -Wall -D_PSP_FW_VERSION=150 -c -o
cube.o cube.c
bin2o -i logo.raw logo.o logo
psp-gcc -I. -Ic:/pspsdk/psp/sdk/include -G0 -Wall -D_PSP_FW_VERSION=150 -c -o
../common/callbacks.o ../common/callbacks.c
psp-gcc -I. -Ic:/pspsdk/psp/sdk/include -G0 -Wall -D_PSP_FW_VERSION=150 -c -o
../common/vram.o ../common/vram.c
psp-gcc -I. -Ic:/pspsdk/psp/sdk/include -G0 -Wall -D_PSP_FW_VERSION=150 -L. -Lc
:/pspsdk/psp/sdk/lib cube.o logo.o ../common/callbacks.o ../common/vram.o -lps
pgum -lpspgu -lm -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk -lc -lpspnet
-lpspnet_inet -lpspnet_apctl -lpspnet_resolver -lpsputility -lpspuser -lpspkern
el -o cube.elf
psp-fixup-imports cube.elf
mksfo 'Cube Sample' PARAM.SFO
psp-strip cube.elf -o cube_strip.elf
pack-pbp EBOOT.PBP PARAM.SFO NULL \
NULL NULL NULL \
NULL cube_strip.elf NULL
[0] 408 bytes | PARAM.SFO
[1] 0 bytes | NULL
[2] 0 bytes | NULL
[3] 0 bytes | NULL
[4] 0 bytes | NULL
[5] 0 bytes | NULL
[6] 47524 bytes | cube_strip.elf
[7] 0 bytes | NULL
c:/pspsdk/bin/rm -f cube_strip.elf
|
So i guess that you have some conflicts with your both installations. Try to keep them apart. |
|
| Back to top |
|
 |
|
|
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
|