| View previous topic :: View next topic |
| Author |
Message |
shindakun
Joined: 06 May 2005 Posts: 2
|
Posted: Fri Aug 19, 2005 3:38 am Post subject: Lil'help: pspmame .04 .97 |
|
|
I was wondering if someone could give me a hand... I have the source for PSPmame 97 ( http://www.geocities.jp/pspmame/files/pspmame04_src.zip ) and I can't seem to get it to compile correctly in the SDK (cygwin - set up following the wiki - using current toolchain.sh). The code was compiled with some other tool chain I guess. I figured out the first part and made changes to /src/psp/psp.mak
Old psp.mak
| Code: |
AR = mipsel-elf-ar
CC = mipsel-elf-gcc
LD = mipsel-elf-ld
ASM = mipsel-elf-as
STRIP =mipsel-elf-strip
CFLAGS += -D_HUGE=HUGE_VAL -DCLIB_DECL=
ASMFLAGS = -march=r4000 -g -mabi=eabi -mgp32 -c -xassembler -O
# add libs
#TMK LIBS += -lalleg -laudio -lemu -lzvg
LIBS = -lc -lm /usr/local/lib/gcc/mipsel-elf/3.4.2/libgcc.a
|
New psp.mak
| Code: |
AR = psp-ar
CC = psp-gcc
LD = psp-ld
ASM = psp-as
STRIP = psp-strip
CFLAGS += -D_HUGE=HUGE_VAL -DCLIB_DECL=
ASMFLAGS = -march=r4000 -g -mabi=eabi -mgp32 -c -xassembler -O
# add libs
#TMK LIBS += -lalleg -laudio -lemu -lzvg
LIBS = -lc -lm /usr/can't/remember/off/hand/lib/gcc/4.something/libgcc.a
|
Anyway, I don't have the exact error here (I'll edit this when I get home) since I was using my home computer but if I recall correctly it was a 'relocation error'. Can some what give me some suggestions??
.shin _________________ .shin |
|
| Back to top |
|
 |
Agoln

Joined: 08 Jun 2005 Posts: 326 Location: Fort Wayne, IN
|
Posted: Fri Aug 19, 2005 4:42 am Post subject: |
|
|
Does your toolchain compile the sample's in the PSPSDK?
If it does, then try and using one of those make files and editing it a little bit to work with PSPMame. _________________ Lego of my Ago! |
|
| Back to top |
|
 |
|