Dullaron |
Mitchell or Dunard Garaus
|
|
|
Reged: 07/22/05
|
Posts: 6134
|
Loc: Fort Worth, Tx
|
|
Send PM
|
|
|
My Make.bat file and setup for MAME and MESS.
#341118 - 06/05/15 05:15 PM
|
|
|
Code:
@echo off set MINGW64=H:\MAME\dev\buildtools\vendor\mingw64 set path=H:\MAME\dev\buildtools\vendor\mingw64\bin;H:\MAME\dev\buildtools\vendor\mingw64\x86_64-w64-mingw32\bin;H:\MAME\dev\buildtools\vendor\mingw64\opt\bin;H:\MAME\dev\buildtools\vendor\qt\mingw64\Qt\bin; cd H:\MAME\dev\source make -j5 PTR64=1 TOOLS=1 STRIP_SYMBOLS=1 pause
My hard drive is letter H.
Make.bat = H:\MAME
Source = H:\MAME\dev\source
buildtools = H:\MAME\dev\buildtools
Using the TortoiseGit https://code.google.com/p/tortoisegit/ and Git https://git-scm.com/ to download and update the files.
MAME/MESS together.
Link for the linking setup are here. http://mamedev.org/tools/
If you want to make MAME or MESS go here for the info. https://github.com/mamedev/mame
|
W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
|
|
|
Re: My Make.bat file and setup for MAME and MESS.
[Re: Dullaron]
#341128 - 06/05/15 11:57 PM
|
|
|
> @echo off > set MINGW64=H:\MAME\dev\buildtools\vendor\mingw64 > set > path=H:\MAME\dev\buildtools\vendor\mingw64\bin;H:\MAME\dev\buildtools\vendor\mingw64\x86_64-w64-mingw32\bin;H:\MAME\dev\buildtools\vendor\mingw64\opt\bin;H:\MAME\dev\buildtools\vendor\qt\mingw64\Qt\bin; > cd H:\MAME\dev\source > make -j5 PTR64=1 TOOLS=1 STRIP_SYMBOLS=1 > pause > > Thanks Dullaron. What does STRIP_SYMBOLS=1 do?
|
|
|
|
Re: My Make.bat file and setup for MAME and MESS.
[Re: Mr Ric]
#341129 - 06/06/15 01:38 AM
|
|
|
|
|
Re: My Make.bat file and setup for MAME and MESS.
[Re: Robbbert]
#341179 - 06/07/15 03:18 PM
|
|
|
> > > > Thanks Dullaron. What does STRIP_SYMBOLS=1 do? > > Makes your executables about 20mb smaller
Thanks.
|
|
|
redk9258 |
Regular
|
|
|
Reged: 09/21/03
|
Posts: 3968
|
Loc: Troy, Illinois USA
|
|
Send PM
|
|
|
Re: My Make.bat file and setup for MAME and MESS.
[Re: Dullaron]
#341220 - 06/08/15 01:36 AM
|
|
|
I run these batch files from the folder that contains "makefile". My Buildtools folder is obviously located in D:\MAMECOMPILE\.
For 64-bit...
SET PROCESSOR_ARCHITECTURE=AMD64 call D:\MAMECOMPILE\buildtools\vendor\env.bat make -j5 TOOLS=1 STRIP_SYMBOLS=1
For 32-bit...
SET PROCESSOR_ARCHITECTURE=x86 call D:\MAMECOMPILE\buildtools\vendor\env.bat make -j5 TOOLS=1 STRIP_SYMBOLS=1
|
|
|
|
Re: My Make.bat file and setup for MAME and MESS.
[Re: Dullaron]
#341231 - 06/08/15 03:53 AM
|
|
|
i have these paths in Computer/Properties/Advanced system settings/Environment Variables/System variables:
Code:
CLANG %CMDER_ROOT%\vendor\LLVM CMDER_ROOT D:\emulation\ExtraStuff\BuildTools DXSDK_DIR %CMDER_ROOT%\vendor\dxsdk git_install_root %CMDER_ROOT%\vendor\msysgit MINGW %MINGW64% MINGW_PATH %CMDER_ROOT%\vendor\mingw64\bin;%CMDER_ROOT%\vendor\qt\mingw64\Qt\bin MINGW64 %CMDER_ROOT%\vendor\mingw64 PATH %CMDER_ROOT%\bin;%CMDER_ROOT%\vendor\unixtools;%git_install_root%\cmd;%git_install_root%\share\vim\vim74;%CMDER_ROOT%;%MINGW_PATH%;%CMDER_ROOT%\vendor\python;%CMDER_ROOT%\vendor\cmake\bin;%CMDER_ROOT%\vendor\cppcheck
and my compile line is the following:
Code:
make -j5 PTR64=1 TOOLS=1 STRIP_SYMBOLS=1
|
MAME Stuff | MAME favorites | Bubble Bobble Series chart / wiki | PC configuration
|
|
|
Re: My Make.bat file and setup for MAME and MESS.
[Re: redk9258]
#341251 - 06/08/15 10:50 PM
|
|
|
> I run these batch files from the folder that contains "makefile". My Buildtools > folder is obviously located in D:\MAMECOMPILE\. > > For 64-bit... > > SET PROCESSOR_ARCHITECTURE=AMD64 > call D:\MAMECOMPILE\buildtools\vendor\env.bat > make -j5 TOOLS=1 STRIP_SYMBOLS=1 > > For 32-bit... > > SET PROCESSOR_ARCHITECTURE=x86 > call D:\MAMECOMPILE\buildtools\vendor\env.bat > make -j5 TOOLS=1 STRIP_SYMBOLS=1
What needs to be in the path to get UPDATE.BAT to work correctly?
|
|
|
redk9258 |
Regular
|
|
|
Reged: 09/21/03
|
Posts: 3968
|
Loc: Troy, Illinois USA
|
|
Send PM
|
|
|
Re: My Make.bat file and setup for MAME and MESS.
[Re: Mr Ric]
#341261 - 06/09/15 03:58 AM
|
|
|
> What needs to be in the path to get UPDATE.BAT to work correctly?
Start with env.bat first then everything will be hunky–dory.
|
|
|