Commit Graph

152 Commits

Author SHA1 Message Date
Miodrag Milanovic
86d3aa8065 Moved tools in proper place, and moved build python scripts together with other scripts (nw) 2015-10-07 12:01:21 +02:00
Cowering
7c302af80f Allow current toolchain for mingw to work and allow GCC 5.2 to also work if gcc-ar is current enough. Add a little more info about lto (nw) 2015-10-05 10:29:15 -05:00
Miodrag Milanovic
6e70790bf4 removed line commit by mistake (nw) 2015-09-30 17:40:40 +02:00
Miodrag Milanovic
1fc48ce120 move mess into mame (nw) 2015-09-30 17:21:14 +02:00
balr0g
459c86dee3 Fix build with Xcode 7 (nw) 2015-09-18 16:00:03 -04:00
Miodrag Milanovic
c9bde5341d reorganized scripts according to new structure (nw) 2015-09-13 10:17:58 +02:00
Miodrag Milanovic
a4ea92de24 Update scripts for compile with latest BGFX (nw) 2015-09-12 11:06:14 +02:00
Miodrag Milanovic
6359b876b9 made FORCE_VERSION_COMPILE option to be used for build server (nw) 2015-09-05 11:53:19 +02:00
Justin Kerk
988ec56c7b Hopefully fix build (nw) 2015-09-02 13:56:42 -07:00
Justin Kerk
c573df73ec Fix Emscripten compile with GoogleTest (nw)
See https://github.com/kripken/emscripten/issues/3484
2015-09-02 13:03:26 -07:00
yz70s
a765979c61 Disable warnng C4319 with visual studio 2015 (nw) 2015-08-09 15:06:20 +02:00
Cowering
18c9854ee6 scrape this for every bit of info (nw) 2015-07-24 20:48:56 -05:00
Cowering
0eef937287 This lets MAME compile in Arch Linux GCC 5.2. 16G RAM used to prevent crash. compile with 'make SSE3=1 LTO=1'
testing GCC 5.2 MSYS2 now (NW)
2015-07-23 10:34:50 -05:00
Julian Sikorski
1b5d213aaa Added ability to use system PortAudio 2015-07-05 22:08:10 +02:00
Miodrag Milanovic
449a851e34 Fix more driver building, going deeper in checks (nw) 2015-06-20 19:19:03 +02:00
Miodrag Milanovic
239c31b584 Made possible creation of custom builds with given list of drivers included.
Note that game list is parsed so if macros are used they will not be found.
example:
make SUBTARGET=cops -j9 DRIVERS=src/mame/drivers/cops.c
2015-06-20 18:20:44 +02:00
Cowering
9089f704fc keep SSE2 like it was 2015-06-19 20:45:13 -05:00
Cowering
3904c29734 This lets sdlMAME/sdlMESS compile on Fedora GCC 5.1.1 with LTO enabled with line:
make -jX SSE2=1 LTO=1

(pick X wisely as Xx4 link threads will run to speed up lto)

Super Mario 64 runs at 88% on old I7-920 in a VM (from 55%).

Windows Mingw-64 5.1.1 LTO is not possible for now :(

Why do we need to say 'SSE2=1' since MAME now requires a CPU with that for a minimum?

(nw)
2015-06-19 14:29:35 -05:00
balr0g
021aa9eb6c Nope. (nw)
This reverts commit 72794f8ff1.
At least this provides a more useful stacktrace, if anyone wants to
debug.
2015-06-07 12:25:38 -04:00
balr0g
72794f8ff1 Use attribute unused for inlined new/delete. (nw)
This is still not compliant code, and will probably break with LTO,
but is a cleaner fix for the warning. Using this attribute also ensures
that the linker doesn't remove the code.
2015-06-07 12:02:20 -04:00
Miodrag Milanovic
6cade077e0 and remove (nw) 2015-06-07 17:27:58 +02:00
Miodrag Milanovic
48fb1dfb85 lets make it just for mingw (nw) 2015-06-07 16:47:41 +02:00
Miodrag Milanovic
041ba8bc2f placed this back to disable warning on clang (nw) 2015-06-07 14:15:04 +02:00
Miodrag Milanovic
fabe12b282 should go like this (nw) 2015-06-07 13:06:35 +02:00
Miodrag Milanovic
be9551fdde Fix for 64bit build size thanks to Peter Ferrie (nw) 2015-06-07 12:59:55 +02:00
Julian Sikorski
9027ce9575 Added the ability to use system flac, jpeg, lua, sqlite3, portmidi and zlib based on wallyweek's work 2015-06-06 23:39:24 +02:00
Julian Sikorski
13506b6b54 Added OPT_FLAGS back 2015-06-06 13:38:19 +02:00
Miodrag Milanovic
66fec3db63 fix for OG :) (nw) 2015-06-03 08:02:20 +02:00
Olivier Galibert
511762fa2d Allow compiling with shared libraries [O. Galibert]
Put SHLIB=1 in the main makefile, or on the command line.

The idea is to get a *way* faster link with symbols.  It works at
least on linux, with one annoying caveat: you have to be in the
build/projects/sdl/mame/gmake-linux directory to start mame
afterwards.  We're going to move some things around to be able to use
LD_LIBRARY_PATH or have it start as-is from the root.
2015-05-31 13:25:17 +02:00
Miodrag Milanovic
81ee2e603e Removed -Wno-unused-variable for mingw/gcc (nw) 2015-05-31 00:15:46 -04:00
Cowering
f115ab2dd2 Let subtarget MESS (not MAME, yet) compile with Windows GCC 5.1 and lto. I am told 'any' recent GCC for Windows has gcc-ar wrapper, if not, change back the line in toolchain.lua (NW) 2015-05-29 17:43:09 -05:00
Cowering
6df44235c8 oops, forgot one 2015-05-28 17:17:20 -05:00
Cowering
ea2762e799 Merge branch 'master' of https://github.com/mamedev/mame 2015-05-28 17:07:47 -05:00
Miodrag Milanovic
548a982a3c Added skeleton support for Windows Phone and Windows Store - far from working(nw) 2015-05-28 20:06:33 +02:00
Cowering
fa92dbd8aa Merge branch 'master' of https://github.com/mamedev/mame
Conflicts:
	scripts/genie.lua
2015-05-27 11:47:40 -05:00
Cowering
110cbcba86 test 2015-05-27 11:44:12 -05:00
Miodrag Milanovic
b0243d6da9 Removed -Wno-unused-variable for mingw/gcc (nw) 2015-05-27 16:41:00 +02:00
Cowering
228b752d27 Merge branch 'master' of https://github.com/mamedev/mame 2015-05-27 09:28:41 -05:00
Cowering
6dfb5511af test 2015-05-27 09:28:37 -05:00
Miodrag Milanovic
2e772fb160 Added lua script/makefile changes to support building tests and portaudio (nw) 2015-05-27 15:02:33 +02:00
balr0g
79e17d0ad3 Remove nonstandard inline overloads (nw) 2015-05-16 15:57:07 -04:00
balr0g
9aa1670e6f Warn for self-assignment (nw) 2015-05-16 15:28:47 -04:00
Wilbert Pol
c196e94f77 whoops? (nw) 2015-05-16 11:01:19 +02:00
balr0g
323c298849 Clang supports -Wshadow, so allow it 2015-05-15 22:05:55 -04:00
Miodrag Milanovic
1e90d2ffdd added some flags for VS build for Peter (nw) 2015-05-15 18:45:23 +02:00
Cesare Falco
7652d47d8e Add makefile switch to choose linking against bundled OR system expat library. 2015-05-11 09:37:45 +02:00
Miodrag Milanovic
ca37d40f69 Removed comments and added generic license for whole team on top (nw) 2015-05-09 16:05:30 +02:00
Miodrag Milanovic
5df1b60963 MAME now represent full build, for building MESS drivers only use [Miodrag Milanovic]
make SUBTARGET=mess, for building only Arcades drivers only use:
make SUBTARGET=arcade
2015-05-09 15:10:29 +02:00
Miodrag Milanovic
d33822a35c ssues with white-space in MAME_DIR [qmc2] 2015-04-30 13:20:36 +02:00
Miodrag Milanovic
3a37417a6b use target suffixes only for main executable (nw) 2015-04-25 13:02:38 +02:00