MAMEWorld >> Programming
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

Hydreigon
MAME Fan
Reged: 12/30/17
Posts: 136
Send PM
Trouble compiling Mame after the C++17 change
12/25/20 09:19 PM


This will be a follow up to an issue on github for an "out of memory" error when Mame compiles up to the emumem files: https://github.com/mamedev/mame/issues/7590.

So despite using mingw64.exe to compile Mame, I still get the "cc1plus.exe: out of memory allocating bytes" issue even on a PC with 16GB. Tried with multiple flags like "-j5 PTR64=1 TOOLS=0 OPTIMIZE=3 SYMBOLS=0 REGENIE=1" with some enabled and disabled and still failed to compile. I'm pretty much stumped at this point and thought others compiling Mame past the C++17 change would have this issue too. Any professional help would be appreciated to fix this issue.

P.S. I would also ask if it's possible to make a bat executable to start mingw64 in a specific directory so that you won't have to use "cd" every time when starting mingw64.


-.-

Edited by Hydreigon (12/25/20 09:24 PM)







Entire thread
Subject Posted by Posted on
* Trouble compiling Mame after the C++17 change Hydreigon 12/25/20 09:19 PM
. * Re: Trouble compiling Mame after the C++17 change Hydreigon  12/27/20 09:39 PM
. * Re: Trouble compiling Mame after the C++17 change Vas Crabb  12/28/20 03:55 AM
. * Re: Trouble compiling Mame after the C++17 change Haze  12/27/20 09:46 PM
. * Memory leak when compiling the emumem files. Hydreigon  12/28/20 01:33 AM
. * Re: Memory leak when compiling the emumem files. Haze  12/28/20 04:34 AM
. * Re: Memory leak when compiling the emumem files. Hydreigon  12/28/20 06:09 AM
. * Re: Memory leak when compiling the emumem files. Vas Crabb  12/28/20 07:20 AM
. * Re: Memory leak when compiling the emumem files. Hydreigon  12/31/20 03:18 AM
. * Re: Memory leak when compiling the emumem files. Vas Crabb  12/31/20 05:18 AM
. * Re: Memory leak when compiling the emumem files. Haze  12/31/20 03:34 AM
. * Re: Memory leak when compiling the emumem files. Vas Crabb  12/28/20 04:01 AM

Extra information Permissions
Moderator:  Pi 
0 registered and 38 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1331