Lil'help: pspmame .04 .97

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
shindakun
Posts: 2
Joined: Fri May 06, 2005 1:08 pm

Lil'help: pspmame .04 .97

Post by shindakun »

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: Select all

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: Select all

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
User avatar
Agoln
Posts: 326
Joined: Wed Jun 08, 2005 3:14 am
Location: Fort Wayne, IN

Post by Agoln »

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!
Post Reply