Compiling Mame For Gp2x


budbud posted on Dec 1 2006 at 10:04 AM said:
is there a guide for compiling mame for gp2x ?

Thanks Bud :)

download and install devkitgp2x and minsys.

Put c:\devkitgp2x\bin and c:\msys\1.0\bin in your path.

Click on make.bat and wait... It would create the standard executable.

Fast executable:
clean.bat, edit config.mk:
M68000_ASM_CORE=1
Z80_ASM_CORE=1
make.bat

Compatible executable:
clean.bat, edit config.mk:
#M68000_ASM_CORE=1
#Z80_ASM_CORE=1
make.bat

Cheers :D.
 
Last edited by a moderator:
Franxis posted on Dec 1 2006 at 08:53 AM said:
budbud posted on Dec 1 2006 at 10:04 AM said:
is there a guide for compiling mame for gp2x ?

Thanks Bud :)

download and install devkitgp2x and minsys. -----------------Done

Put c:\devkitgp2x\bin and c:\msys\1.0\bin in your path.--------------Done

Click on make.bat and wait...-------There is no make.bat ......................Thanks Bud

It would create the standard executable.

Fast executable:
clean.bat, edit config.mk:
M68000_ASM_CORE=1
Z80_ASM_CORE=1
make.bat

Compatible executable:
clean.bat, edit config.mk:
#M68000_ASM_CORE=1
#Z80_ASM_CORE=1
make.bat

Cheers :D.
 
Last edited by a moderator:
Franxis posted on Dec 2 2006 at 05:34 AM said:
make.bat? , no, no, sorry, makefile.bat



I click on makefile and command prompt comes up and says
"press any key to continue " when i do the window closes....


Thanks Bud
 
Last edited by a moderator:
Is there a reason you are trying to compile the code and not just load the pre-compiled binaries?

If you really want to compile it, do you have the tool chains installed?

if the tool chain is installed have you tested the tool chain?

I am not trying to bury you in questions but I do not know what your goal is so I can not figure out what other pieces you need.
 
Well I would like to add donkey kong ex in there and maybe a few others ...Bud
 
I personally would like to give a shot at adding Space Harrier, as I don't think anyone else will anytime soon, and I really am having SH withdrawals. It would be nice to get it working on the GP2X.

But there's probably more to it than I know, and I have almost no experience coding... anything. But, anyway.
 
Are you still trying to build the code? If so can you answer the other questions about the tool chain and other environment stuff. Otherwise I will assume you have dropped the "quest".
 
I'm still having trouble compiling gp2x mame builds..

I currently compile the regular mame on my M: drive if you could please
help me set up the resources i need to compile it would be great . I tried to follow the previous instruction to no avail ... Thanks For Your Help Bud ..... :)
 
Ok , I downloaded the source and built it.

Do you have the compiler tool chain installed?

where do you have it installed, complete "path"?

The makefile.gp2x will need to be changes to reflect where the tool chain is and your PATH temporarily modified to include the bin folder of the tools.
 
Gary Miller posted on Dec 6 2006 at 05:37 PM said:
Ok , I downloaded the source and built it.

Do you have the compiler tool chain installed?

where do you have it installed, complete "path"?

The makefile.gp2x will need to be changes to reflect where the tool chain is and your PATH temporarily modified to include the bin folder of the tools.




I have the devkitgp2x installed C:\devkitgp2x
I also have C:\devkitgp2x\minsys

I have added both of theese to my environmental path

from here I am Stuck ,Again thanks for your help...Bud
 
Last edited by a moderator:
There should be a folder called "home" inside the minsys folder. Move the mame source folder (the one with makefile.bat in it) and all it contains into the home folder with aa folder name of "mame". This is not strictly needed but will save some time.

Open up a minsys window by clicking on the msys.bat file inside the minsys folder. In that window type:

Code:
cd ../mame
make -f Makefile.gp2x

These commands change your working folder to one up from where you are (which should be home/"login name") to the "mame" folder. Then once there the make command says to execute what needs to be done described in the file "Makefile.gp2x".

This should do all of the compiling and the link step.

The commands typed assume that the PATH is correct. If you get an error on the make command line like:

Code:
sh: make: command not found

Then there is a problem with your PATH.
 
AWSOME :))

Finally got a nice clean compile ...
Thanks for all your help Gary , very much appreciated .

Bud .......... :)
 
Back
Top