An excessive number of concurrent jobs will Note: a good number to start with is the total number of CPU cores For instance, make -j5 is a good starting point On a system with multiple CPU cores, compilation can be sped up byĬompiling multiple source files in parallel. If you encounter linking errors after changing the included sources,ĭelete the static libraries for the subtarget from the build folder.įor the previous example on Windows using GCC, these would be inīuild/mingw-gcc/bin/圆4/Release/mame_pacem by default. You can also omit the src/mame/ prefix in many cases. Their entire contents, and you can separate multiple files/folders Would build an emulator called pacem including the system driversįrom the source file pacman.cpp ( REGENIE=1 is specified to ensure Make SUBTARGET=pacem SOURCES=src/mame/pacman/pacman.cpp REGENIE=1 You can build an emulator for a subset of the systems supported by If you want to add various additional tools to the compile, such asĬhdman, add a TOOLS=1 to your make command, like Make arguments, or updating the modification time of the makefile (forĮxample using the touch command). You can do this by adding REGENIE=1 to the Optimisation settings, or adding tools to the compile list), or systemĭrivers sources are added, removed, or renamed, the project files need Whenever you are changing build parameters, (for example changing With GCC 10, you should use version 10.3 or later. MAME should run with GNU libstdc++ version 7.2 or later or Support building with GCC version 7.2 or later and clang version 6 or To compile MAME, you need a C++17 compiler and runtime library. Using a GCC/GNU libstdc++ installation in a non-standard location on Linux Debian and Ubuntu (including Raspberry Pi and ODROID devices)Ĭompiling the Documentation on Microsoft WindowsĬompiling the Documentation on Debian and Ubuntu
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |