Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: Farmboy90 on January 12, 2006, 04:47:23 pm
-
I know, dumb quesrtion, but I couldn't find an answer after searching.
My mame build produces a mamed.exe (debug version). How can I change the compilation to release?
Is it a simple target change? Where do you get the release libraries?
-
Read the last paragraph.
http://www.mame.net/compilewin.html
-
Right I saw that before and was confused by it. The reason is becasue in my makefile that came with the package was this:
# uncomment next line to include the debugger
# DEBUG = 1
In other words it was already commented out. Yet I still got a debug version. It is a huge 40 meg mamed.exe
I even uncommented it and set it to 0. I just did a make clean and now another make.
Looks like it is doing another mamed.exe build though. :(
*** EDIT ****
I am guessing that flag is now obsolete since it was commented out. There is also a NEW_DEBUGGER flag in there. This one is set to 1 by default. I just changed it to 0 and am compiling (again).
It still has a mamed.exe it seems so I am not sure what is going on.
The makefile says:
# debug builds just get the 'd' suffix and nothing more
ifdef DEBUG
NAME = $(PREFIX)$(TARGET)$(SUFFIX)d
endif
Now since debug = 0 I don't see how it is possible to have the executable be called mamed.exe.
We'll see if the executable is affected though once the compile is done.
-
Farmboy, any chance you could compile me a version of MAME? I'll pay or trade you some goods for your time.
-
Farmboy, any chance you could compile me a version of MAME? I'll pay or trade you some goods for your time.
Depends on what you want done. :) PM me your needs and I will gladly just do it for you.
However I want to solve my debug issue first, because as of right now the exe is roughly 40MB in size because of all the debugging information that has been included. This also means it will run slower. And I don't want to send you something so huge and potentially so slow.
Once that is done I will be good to go. So just let me know what you had in mind.
-
Rayb, is this for dmame or regular mame?
Farmboy90,
Don't have it in front of me, but the normal compile is like 30-40MB. Have you checked to see that it is actually a debug version and not just named "mamed".
-
Rayb, is this for dmame or regular mame?
Farmboy90,
Don't have it in front of me, but the normal compile is like 30-40MB.
-
The binary on the web is compressed (UPX).
For the rest, I don't know why you are messing with the makefile. Default compiles a non-debug binary.
-
Sweet! Thanks 2600.
-
Rayb, is this for dmame or regular mame?
DMAME.