First post, by M4CGYV3R
- Rank
- Newbie
Hi, vogons! I'm trying to build DOSBox SVN + Munt and I'm stuck.
I was able to build DOSBox SVN r4008 in Windows 10, thanks to this MinGW guide. It works fantastic. Just one error making libpng-1.6.29 resolved by editing the the last #defines in /libpng-1.6.29/pnglibconf.h
All steps, no debug.
SDL-devel-1.2.15-mingw32
directx-devel
SDL_net-1.2.8
zlib-1.2.11 / libpng-1.6.29
libogg-1.3.2 / libvorbis-1.3.5 / SDL_sound-1.0.3
I saw that munt needs cmake. I don't have it in the environment created following the wiki guide. To have cmake, I copied the forders bin, plugins and share from cmake-3.8.0-win32-x86.zip to my MinGW installation.
These are the steps that I followed so far:
1 • MinGW developement environment on Windows 10 x64 (Ver. 1703 Build 15063.0)
2 • Downloaded and extacted Munt source and DOSBox SVN r4008 source.
3 • Copied ~/munt-2.1.0/DOSBox-mt32-patch/dosbox-0.74-mt32-patch.diff > ~/dosbox-code-0-4008-dosbox-trunk
4 • cd ~/dosbox-code-0-4008-dosbox-trunk
5 • patch -p1 < dosbox-SVN-r4000-mt32-patch.diff
$ patch -p1 < dosbox-SVN-r4000-mt32-patch.diff
patching file src/Makefile.am
patching file src/dosbox.cpp
patching file src/gui/Makefile.am
patching file src/gui/midi.cpp
patching file src/gui/midi_mt32.cpp
patching file src/gui/midi_mt32.h
patching file src/mt32options.h
6 • cd ~/munt-2.1.0/mt32emu
7 • Edited CMakeLists.txt following this comment from sergm.
wrote:I seemingly found an easier way to compile all with MinGW. There is a set of compiler options defined in CMakeLists.txt: […]
I seemingly found an easier way to compile all with MinGW. There is a set of compiler options defined in CMakeLists.txt:
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER MATCHES "(^|/)clang\\+\\+$")
add_definitions(-Wall -Wextra -Wnon-virtual-dtor -Wshadow -Wold-style-cast -ansi -pedantic)
endif()
Stripping out "-ansi" will allow the currently broken MinGW to compile the library successfully.
8 • cmake -G "MSYS Makefiles"
$ cmake -G "MSYS Makefiles"
-- The CXX compiler identification is GNU 5.3.0
-- Check for working CXX compiler: U:/MinGW/bin/g++.exe
-- Check for working CXX compiler: U:/MinGW/bin/g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: U:/MinGW/msys/1.0/home/M4C/munt-2.1.0/mt32emu
9 • Configuration taken from munt-2.1.0\mt32emu\README.txt
$ cmake -DCMAKE_BUILD_TYPE:STRING=Release .
-- Configuring done
-- Generating done
-- Build files have been written to: U:/MinGW/msys/1.0/home/M4C/munt-2.1.0/mt32emu
10 • Make
$ make
Scanning dependencies of target mt32emu
[ 3%] Building CXX object CMakeFiles/mt32emu.dir/src/Analog.cpp.obj
[ 7%] Building CXX object CMakeFiles/mt32emu.dir/src/BReverbModel.cpp.obj
[ 10%] Building CXX object CMakeFiles/mt32emu.dir/src/File.cpp.obj
[ 14%] Building CXX object CMakeFiles/mt32emu.dir/src/FileStream.cpp.obj
[ 17%] Building CXX object CMakeFiles/mt32emu.dir/src/LA32FloatWaveGenerator.cpp.obj
[ 21%] Building CXX object CMakeFiles/mt32emu.dir/src/LA32Ramp.cpp.obj
[ 25%] Building CXX object CMakeFiles/mt32emu.dir/src/LA32WaveGenerator.cpp.obj
[ 28%] Building CXX object CMakeFiles/mt32emu.dir/src/MidiStreamParser.cpp.obj
[ 32%] Building CXX object CMakeFiles/mt32emu.dir/src/Part.cpp.obj
[ 35%] Building CXX object CMakeFiles/mt32emu.dir/src/Partial.cpp.obj
[ 39%] Building CXX object CMakeFiles/mt32emu.dir/src/PartialManager.cpp.obj
[ 42%] Building CXX object CMakeFiles/mt32emu.dir/src/Poly.cpp.obj
[ 46%] Building CXX object CMakeFiles/mt32emu.dir/src/ROMInfo.cpp.obj
[ 50%] Building CXX object CMakeFiles/mt32emu.dir/src/Synth.cpp.obj
[ 53%] Building CXX object CMakeFiles/mt32emu.dir/src/Tables.cpp.obj
[ 57%] Building CXX object CMakeFiles/mt32emu.dir/src/TVA.cpp.obj
[ 60%] Building CXX object CMakeFiles/mt32emu.dir/src/TVF.cpp.obj
[ 64%] Building CXX object CMakeFiles/mt32emu.dir/src/TVP.cpp.obj
[ 67%] Building CXX object CMakeFiles/mt32emu.dir/src/sha1/sha1.cpp.obj
[ 71%] Building CXX object CMakeFiles/mt32emu.dir/src/SampleRateConverter.cpp.obj
[ 75%] Building CXX object CMakeFiles/mt32emu.dir/src/c_interface/c_interface.cpp.obj
[ 78%] Building CXX object CMakeFiles/mt32emu.dir/src/srchelper/srctools/src/FIRResampler.cpp.obj
[ 82%] Building CXX object CMakeFiles/mt32emu.dir/src/srchelper/srctools/src/SincResampler.cpp.obj
[ 85%] Building CXX object CMakeFiles/mt32emu.dir/src/srchelper/srctools/src/IIR2xResampler.cpp.obj
[ 89%] Building CXX object CMakeFiles/mt32emu.dir/src/srchelper/srctools/src/LinearResampler.cpp.obj
[ 92%] Building CXX object CMakeFiles/mt32emu.dir/src/srchelper/srctools/src/ResamplerModel.cpp.obj
[ 96%] Building CXX object CMakeFiles/mt32emu.dir/src/srchelper/InternalResampler.cpp.obj
[100%] Linking CXX shared library libmt32emu-2.dll
[100%] Built target mt32emu
11 • Copy ~/munt-2.1.0/mt32emu/include > ~/dosbox-code-0-4008-dosbox-trunk/include
• Copy ~/munt-2.1.0/mt32emu/libmt32emu-2.dll > u:\MinGW\bin
• Copy ~/munt-2.1.0/mt32emu/libmt32emu.dll.a > u:\MinGW\lib
12 • cd ~/dosbox-code-0-4008-dosbox-trunk/
13 • ./autogen.sh
$ ./autogen.sh
Generating build information using aclocal, autoheader, automake and autoconf
This may take a while ...
configure.ac:7: installing `./config.guess'
configure.ac:7: installing `./config.sub'
configure.ac:11: installing `./install-sh'
configure.ac:11: installing `./missing'
src/Makefile.am: installing `./depcomp'
Now you are ready to run ./configure.
You can also run ./configure --help for extra features to enable/disable.
14 • ./configure --enable-core-inline LDFLAGS="-static-libgcc -static-libstdc++ -s" LIBS="-lvorbisfile -lvorbis -logg"
$ ./configure --enable-core-inline LDFLAGS="-static-libgcc -static-libstdc++ -s" LIBS="-lvorbisfile -lvorbis -logg"
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for ranlib... ranlib
checking for sdl-config... /mingw/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking SDL version only being 1.2.X... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking size of unsigned char... 1
checking size of unsigned short... 2
checking size of unsigned int... 4
checking size of unsigned long... 4
checking size of unsigned long long... 8
checking size of int *... 4
checking for stdlib.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... no
checking for netinet/in.h... no
checking for pwd.h... no
checking if environ can be included... yes
checking if environ can be linked... yes
checking if dirent includes d_type... yes
checking for powf in libm... yes
checking for library containing clock_gettime... no
checking if compiler allows __attribute__... yes
checking if compiler allows __attribute__((always_inline)) ... yes
checking if compiler allows __attribute__((fastcall)) ... yes
checking if compiler allows __builtin_expect... yes
checking if compiler supports -mno-ms-bitfields... yes
checking for ALSA CFLAGS...
checking for ALSA LDFLAGS... -lasound -lm -ldl -lpthread
checking for libasound headers version >= 0.9.0... not present.
checking for snd_ctl_open in -lasound... no
checking whether byte ordering is bigendian... no
enabling inlined memory handling in CPU Core
checking for target cpu type... x86 compatible
checking whether x86 dynamic cpu core will be enabled... yes
checking whether recompiling cpu core will be enabled... no, using dynamic-x86
checking whether fpu emulation will be enabled... yes
checking whether the x86/x64 assembly fpu core will be enabled... yes
checking whether to enable unaligned memory access... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_get_io_ptr in -lpng... yes
checking SDL_net.h usability... yes
checking SDL_net.h presence... yes
checking for SDL_net.h... yes
checking for SDLNet_Init in -lSDL_net... yes
checking for main in -lX11... no
checking X11/XKBlib.h usability... no
checking X11/XKBlib.h presence... no
checking for X11/XKBlib.h... no
checking for XKBlib support... no
checking for main in -lGL... no
checking for main in -lopengl32... yes
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking whether opengl display output will be enabled... yes
checking SDL_sound.h usability... yes
checking SDL_sound.h presence... yes
checking for SDL_sound.h... yes
checking for Sound_Init in -lSDL_sound... yes
checking for Sound_Seek in -lSDL_sound... yes
checking sys/mman.h usability... no
checking sys/mman.h presence... no
checking for sys/mman.h... no
checking for setpriority support... no
checking ddraw.h usability... yes
checking ddraw.h presence... yes
checking for ddraw.h... yes
checking for windres... windres
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/cpu/Makefile
config.status: creating src/cpu/core_full/Makefile
config.status: creating src/cpu/core_normal/Makefile
config.status: creating src/cpu/core_dyn_x86/Makefile
config.status: creating src/cpu/core_dynrec/Makefile
config.status: creating src/debug/Makefile
config.status: creating src/dos/Makefile
config.status: creating src/fpu/Makefile
config.status: creating src/gui/Makefile
config.status: creating src/hardware/Makefile
config.status: creating src/hardware/serialport/Makefile
config.status: creating src/ints/Makefile
config.status: creating src/libs/Makefile
config.status: creating src/libs/zmbv/Makefile
config.status: creating src/libs/gui_tk/Makefile
config.status: creating src/misc/Makefile
config.status: creating src/shell/Makefile
config.status: creating src/platform/Makefile
config.status: creating src/platform/visualc/Makefile
config.status: creating visualc_net/Makefile
config.status: creating include/Makefile
config.status: creating docs/Makefile
config.status: creating config.h
config.status: executing depfiles commands
15 • Make
$ make
make all-recursive
make[1]: Entering directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk'
Making all in src
make[2]: Entering directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src'
Making all in cpu
make[3]: Entering directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/cpu'
Making all in core_full
make[4]: Entering directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/cpu/core_full'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/cpu/core_full'
Making all in core_normal
make[4]: Entering directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/cpu/core_normal'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/cpu/core_normal'
Making all in core_dyn_x86
make[4]: Entering directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/cpu/core_dyn_x86'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/cpu/core_dyn_x86'
Making all in core_dynrec
make[4]: Entering directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/cpu/core_dynrec'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/cpu/core_dynrec'
make[4]: Entering directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/cpu'
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT cpu.o -MD -MP -MF .deps/cpu.Tpo -c -o cpu.o cpu.cpp
mv -f .deps/cpu.Tpo .deps/cpu.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT flags.o -MD -MP -MF .deps/flags.Tpo -c -o flags.o flags.cpp
mv -f .deps/flags.Tpo .deps/flags.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT modrm.o -MD -MP -MF .deps/modrm.Tpo -c -o modrm.o modrm.cpp
mv -f .deps/modrm.Tpo .deps/modrm.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT core_full.o -MD -MP -MF .deps/core_full.Tpo -c -o core_full.o core_full.cpp
mv -f .deps/core_full.Tpo .deps/core_full.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT paging.o -MD -MP -MF .deps/paging.Tpo -c -o paging.o paging.cpp
mv -f .deps/paging.Tpo .deps/paging.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT core_normal.o -MD -MP -MF .deps/core_normal.Tpo -c -o core_normal.o core_normal.cpp
mv -f .deps/core_normal.Tpo .deps/core_normal.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT core_simple.o -MD -MP -MF .deps/core_simple.Tpo -c -o core_simple.o core_simple.cpp
mv -f .deps/core_simple.Tpo .deps/core_simple.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT core_prefetch.o -MD -MP -MF .deps/core_prefetch.Tpo -c -o core_prefetch.o core_prefetch.cpp
mv -f .deps/core_prefetch.Tpo .deps/core_prefetch.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT core_dyn_x86.o -MD -MP -MF .deps/core_dyn_x86.Tpo -c -o core_dyn_x86.o core_dyn_x86.cpp
mv -f .deps/core_dyn_x86.Tpo .deps/core_dyn_x86.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT core_dynrec.o -MD -MP -MF .deps/core_dynrec.Tpo -c -o core_dynrec.o core_dynrec.cpp
mv -f .deps/core_dynrec.Tpo .deps/core_dynrec.Po
rm -f libcpu.a
ar cru libcpu.a callback.o cpu.o flags.o modrm.o core_full.o paging.o core_normal.o core_simple.o core_prefetch.o core_dyn_x86.o core_dynrec.o
ranlib libcpu.a
make[4]: Leaving directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/cpu'
make[3]: Leaving directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/cpu'
Making all in debug
make[3]: Entering directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/debug'
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT debug.o -MD -MP -MF .deps/debug.Tpo -c -o debug.o debug.cpp
mv -f .deps/debug.Tpo .deps/debug.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT debug_gui.o -MD -MP -MF .deps/debug_gui.Tpo -c -o debug_gui.o debug_gui.cpp
mv -f .deps/debug_gui.Tpo .deps/debug_gui.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT debug_disasm.o -MD -MP -MF .deps/debug_disasm.Tpo -c -o debug_disasm.o debug_disasm.cpp
mv -f .deps/debug_disasm.Tpo .deps/debug_disasm.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT debug_win32.o -MD -MP -MF .deps/debug_win32.Tpo -c -o debug_win32.o debug_win32.cpp
mv -f .deps/debug_win32.Tpo .deps/debug_win32.Po
rm -f libdebug.a
ar cru libdebug.a debug.o debug_gui.o debug_disasm.o debug_win32.o
ranlib libdebug.a
make[3]: Leaving directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/debug'
Making all in dos
make[3]: Entering directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/dos'
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT dos.o -MD -MP -MF .deps/dos.Tpo -c -o dos.o dos.cpp
mv -f .deps/dos.Tpo .deps/dos.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT dos_devices.o -MD -MP -MF .deps/dos_devices.Tpo -c -o dos_devices.o dos_devices.cpp
mv -f .deps/dos_devices.Tpo .deps/dos_devices.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT dos_execute.o -MD -MP -MF .deps/dos_execute.Tpo -c -o dos_execute.o dos_execute.cpp
mv -f .deps/dos_execute.Tpo .deps/dos_execute.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT dos_files.o -MD -MP -MF .deps/dos_files.Tpo -c -o dos_files.o dos_files.cpp
mv -f .deps/dos_files.Tpo .deps/dos_files.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT dos_ioctl.o -MD -MP -MF .deps/dos_ioctl.Tpo -c -o dos_ioctl.o dos_ioctl.cpp
mv -f .deps/dos_ioctl.Tpo .deps/dos_ioctl.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT dos_memory.o -MD -MP -MF .deps/dos_memory.Tpo -c -o dos_memory.o dos_memory.cpp
mv -f .deps/dos_memory.Tpo .deps/dos_memory.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT dos_misc.o -MD -MP -MF .deps/dos_misc.Tpo -c -o dos_misc.o dos_misc.cpp
mv -f .deps/dos_misc.Tpo .deps/dos_misc.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT dos_classes.o -MD -MP -MF .deps/dos_classes.Tpo -c -o dos_classes.o dos_classes.cpp
mv -f .deps/dos_classes.Tpo .deps/dos_classes.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT dos_programs.o -MD -MP -MF .deps/dos_programs.Tpo -c -o dos_programs.o dos_programs.cpp
mv -f .deps/dos_programs.Tpo .deps/dos_programs.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT dos_tables.o -MD -MP -MF .deps/dos_tables.Tpo -c -o dos_tables.o dos_tables.cpp
mv -f .deps/dos_tables.Tpo .deps/dos_tables.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT drives.o -MD -MP -MF .deps/drives.Tpo -c -o drives.o drives.cpp
mv -f .deps/drives.Tpo .deps/drives.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT drive_virtual.o -MD -MP -MF .deps/drive_virtual.Tpo -c -o drive_virtual.o drive_virtual.cpp
mv -f .deps/drive_virtual.Tpo .deps/drive_virtual.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT drive_local.o -MD -MP -MF .deps/drive_local.Tpo -c -o drive_local.o drive_local.cpp
mv -f .deps/drive_local.Tpo .deps/drive_local.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT drive_cache.o -MD -MP -MF .deps/drive_cache.Tpo -c -o drive_cache.o drive_cache.cpp
mv -f .deps/drive_cache.Tpo .deps/drive_cache.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT drive_fat.o -MD -MP -MF .deps/drive_fat.Tpo -c -o drive_fat.o drive_fat.cpp
mv -f .deps/drive_fat.Tpo .deps/drive_fat.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT drive_iso.o -MD -MP -MF .deps/drive_iso.Tpo -c -o drive_iso.o drive_iso.cpp
mv -f .deps/drive_iso.Tpo .deps/drive_iso.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT dos_mscdex.o -MD -MP -MF .deps/dos_mscdex.Tpo -c -o dos_mscdex.o dos_mscdex.cpp
mv -f .deps/dos_mscdex.Tpo .deps/dos_mscdex.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT dos_keyboard_layout.o -MD -MP -MF .deps/dos_keyboard_layout.Tpo -c -o dos_keyboard_layout.o dos_keyboard_layout.cpp
mv -f .deps/dos_keyboard_layout.Tpo .deps/dos_keyboard_layout.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT cdrom.o -MD -MP -MF .deps/cdrom.Tpo -c -o cdrom.o cdrom.cpp
mv -f .deps/cdrom.Tpo .deps/cdrom.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT cdrom_ioctl_win32.o -MD -MP -MF .deps/cdrom_ioctl_win32.Tpo -c -o cdrom_ioctl_win32.o cdrom_ioctl_win32.cpp
mv -f .deps/cdrom_ioctl_win32.Tpo .deps/cdrom_ioctl_win32.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT cdrom_aspi_win32.o -MD -MP -MF .deps/cdrom_aspi_win32.Tpo -c -o cdrom_aspi_win32.o cdrom_aspi_win32.cpp
mv -f .deps/cdrom_aspi_win32.Tpo .deps/cdrom_aspi_win32.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT cdrom_ioctl_linux.o -MD -MP -MF .deps/cdrom_ioctl_linux.Tpo -c -o cdrom_ioctl_linux.o cdrom_ioctl_linux.cpp
mv -f .deps/cdrom_ioctl_linux.Tpo .deps/cdrom_ioctl_linux.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT cdrom_image.o -MD -MP -MF .deps/cdrom_image.Tpo -c -o cdrom_image.o cdrom_image.cpp
mv -f .deps/cdrom_image.Tpo .deps/cdrom_image.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT cdrom_ioctl_os2.o -MD -MP -MF .deps/cdrom_ioctl_os2.Tpo -c -o cdrom_ioctl_os2.o cdrom_ioctl_os2.cpp
mv -f .deps/cdrom_ioctl_os2.Tpo .deps/cdrom_ioctl_os2.Po
rm -f libdos.a
ar cru libdos.a dos.o dos_devices.o dos_execute.o dos_files.o dos_ioctl.o dos_memory.o dos_misc.o dos_classes.o dos_programs.o dos_tables.o drives.o drive_virtual.o drive_local.o drive_cache.o drive_fat.o drive_iso.o dos_mscdex.o dos_keyboard_layout.o cdrom.o cdrom_ioctl_win32.o cdrom_aspi_win32.o cdrom_ioctl_linux.o cdrom_image.o cdrom_ioctl_os2.o
ranlib libdos.a
make[3]: Leaving directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/dos'
Making all in fpu
make[3]: Entering directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/fpu'
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT fpu.o -MD -MP -MF .deps/fpu.Tpo -c -o fpu.o fpu.cpp
mv -f .deps/fpu.Tpo .deps/fpu.Po
rm -f libfpu.a
ar cru libfpu.a fpu.o
ranlib libfpu.a
make[3]: Leaving directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/fpu'
Making all in gui
make[3]: Entering directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/gui'
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT sdlmain.o -MD -MP -MF .deps/sdlmain.Tpo -c -o sdlmain.o sdlmain.cpp
mv -f .deps/sdlmain.Tpo .deps/sdlmain.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT sdl_mapper.o -MD -MP -MF .deps/sdl_mapper.Tpo -c -o sdl_mapper.o sdl_mapper.cpp
mv -f .deps/sdl_mapper.Tpo .deps/sdl_mapper.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT render.o -MD -MP -MF .deps/render.Tpo -c -o render.o render.cpp
mv -f .deps/render.Tpo .deps/render.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT render_scalers.o -MD -MP -MF .deps/render_scalers.Tpo -c -o render_scalers.o render_scalers.cpp
mv -f .deps/render_scalers.Tpo .deps/render_scalers.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT midi.o -MD -MP -MF .deps/midi.Tpo -c -o midi.o midi.cpp
mv -f .deps/midi.Tpo .deps/midi.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT midi_mt32.o -MD -MP -MF .deps/midi_mt32.Tpo -c -o midi_mt32.o midi_mt32.cpp
mv -f .deps/midi_mt32.Tpo .deps/midi_mt32.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT sdl_gui.o -MD -MP -MF .deps/sdl_gui.Tpo -c -o sdl_gui.o sdl_gui.cpp
mv -f .deps/sdl_gui.Tpo .deps/sdl_gui.Po
rm -f libgui.a
ar cru libgui.a sdlmain.o sdl_mapper.o render.o render_scalers.o midi.o midi_mt32.o sdl_gui.o
ranlib libgui.a
make[3]: Leaving directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/gui'
Making all in hardware
make[3]: Entering directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/hardware'
Making all in serialport
make[4]: Entering directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/hardware/serialport'
g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT directserial.o -MD -MP -MF .deps/directserial.Tpo -c -o directserial.o directserial.cpp
mv -f .deps/directserial.Tpo .deps/directserial.Po
g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT libserial.o -MD -MP -MF .deps/libserial.Tpo -c -o libserial.o libserial.cpp
mv -f .deps/libserial.Tpo .deps/libserial.Po
g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT serialdummy.o -MD -MP -MF .deps/serialdummy.Tpo -c -o serialdummy.o serialdummy.cpp
mv -f .deps/serialdummy.Tpo .deps/serialdummy.Po
g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT serialport.o -MD -MP -MF .deps/serialport.Tpo -c -o serialport.o serialport.cpp
mv -f .deps/serialport.Tpo .deps/serialport.Po
g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT softmodem.o -MD -MP -MF .deps/softmodem.Tpo -c -o softmodem.o softmodem.cpp
mv -f .deps/softmodem.Tpo .deps/softmodem.Po
g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT misc_util.o -MD -MP -MF .deps/misc_util.Tpo -c -o misc_util.o misc_util.cpp
mv -f .deps/misc_util.Tpo .deps/misc_util.Po
g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT nullmodem.o -MD -MP -MF .deps/nullmodem.Tpo -c -o nullmodem.o nullmodem.cpp
mv -f .deps/nullmodem.Tpo .deps/nullmodem.Po
rm -f libserial.a
ar cru libserial.a directserial.o libserial.o serialdummy.o serialport.o softmodem.o misc_util.o nullmodem.o
ranlib libserial.a
make[4]: Leaving directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/hardware/serialport'
make[4]: Entering directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT adlib.o -MD -MP -MF .deps/adlib.Tpo -c -o adlib.o adlib.cpp
mv -f .deps/adlib.Tpo .deps/adlib.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT dma.o -MD -MP -MF .deps/dma.Tpo -c -o dma.o dma.cpp
mv -f .deps/dma.Tpo .deps/dma.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT gameblaster.o -MD -MP -MF .deps/gameblaster.Tpo -c -o gameblaster.o gameblaster.cpp
mv -f .deps/gameblaster.Tpo .deps/gameblaster.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT hardware.o -MD -MP -MF .deps/hardware.Tpo -c -o hardware.o hardware.cpp
mv -f .deps/hardware.Tpo .deps/hardware.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT iohandler.o -MD -MP -MF .deps/iohandler.Tpo -c -o iohandler.o iohandler.cpp
mv -f .deps/iohandler.Tpo .deps/iohandler.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT joystick.o -MD -MP -MF .deps/joystick.Tpo -c -o joystick.o joystick.cpp
mv -f .deps/joystick.Tpo .deps/joystick.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT keyboard.o -MD -MP -MF .deps/keyboard.Tpo -c -o keyboard.o keyboard.cpp
mv -f .deps/keyboard.Tpo .deps/keyboard.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT memory.o -MD -MP -MF .deps/memory.Tpo -c -o memory.o memory.cpp
mv -f .deps/memory.Tpo .deps/memory.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT mixer.o -MD -MP -MF .deps/mixer.Tpo -c -o mixer.o mixer.cpp
mv -f .deps/mixer.Tpo .deps/mixer.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT pcspeaker.o -MD -MP -MF .deps/pcspeaker.Tpo -c -o pcspeaker.o pcspeaker.cpp
mv -f .deps/pcspeaker.Tpo .deps/pcspeaker.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT pci_bus.o -MD -MP -MF .deps/pci_bus.Tpo -c -o pci_bus.o pci_bus.cpp
mv -f .deps/pci_bus.Tpo .deps/pci_bus.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT pic.o -MD -MP -MF .deps/pic.Tpo -c -o pic.o pic.cpp
mv -f .deps/pic.Tpo .deps/pic.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT sblaster.o -MD -MP -MF .deps/sblaster.Tpo -c -o sblaster.o sblaster.cpp
mv -f .deps/sblaster.Tpo .deps/sblaster.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT tandy_sound.o -MD -MP -MF .deps/tandy_sound.Tpo -c -o tandy_sound.o tandy_sound.cpp
mv -f .deps/tandy_sound.Tpo .deps/tandy_sound.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT timer.o -MD -MP -MF .deps/timer.Tpo -c -o timer.o timer.cpp
mv -f .deps/timer.Tpo .deps/timer.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT vga.o -MD -MP -MF .deps/vga.Tpo -c -o vga.o vga.cpp
mv -f .deps/vga.Tpo .deps/vga.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT vga_attr.o -MD -MP -MF .deps/vga_attr.Tpo -c -o vga_attr.o vga_attr.cpp
mv -f .deps/vga_attr.Tpo .deps/vga_attr.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT vga_crtc.o -MD -MP -MF .deps/vga_crtc.Tpo -c -o vga_crtc.o vga_crtc.cpp
mv -f .deps/vga_crtc.Tpo .deps/vga_crtc.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT vga_dac.o -MD -MP -MF .deps/vga_dac.Tpo -c -o vga_dac.o vga_dac.cpp
mv -f .deps/vga_dac.Tpo .deps/vga_dac.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT vga_draw.o -MD -MP -MF .deps/vga_draw.Tpo -c -o vga_draw.o vga_draw.cpp
mv -f .deps/vga_draw.Tpo .deps/vga_draw.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT vga_gfx.o -MD -MP -MF .deps/vga_gfx.Tpo -c -o vga_gfx.o vga_gfx.cpp
mv -f .deps/vga_gfx.Tpo .deps/vga_gfx.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT vga_other.o -MD -MP -MF .deps/vga_other.Tpo -c -o vga_other.o vga_other.cpp
mv -f .deps/vga_other.Tpo .deps/vga_other.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT vga_memory.o -MD -MP -MF .deps/vga_memory.Tpo -c -o vga_memory.o vga_memory.cpp
mv -f .deps/vga_memory.Tpo .deps/vga_memory.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT vga_misc.o -MD -MP -MF .deps/vga_misc.Tpo -c -o vga_misc.o vga_misc.cpp
mv -f .deps/vga_misc.Tpo .deps/vga_misc.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT vga_seq.o -MD -MP -MF .deps/vga_seq.Tpo -c -o vga_seq.o vga_seq.cpp
mv -f .deps/vga_seq.Tpo .deps/vga_seq.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT vga_xga.o -MD -MP -MF .deps/vga_xga.Tpo -c -o vga_xga.o vga_xga.cpp
mv -f .deps/vga_xga.Tpo .deps/vga_xga.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT vga_s3.o -MD -MP -MF .deps/vga_s3.Tpo -c -o vga_s3.o vga_s3.cpp
mv -f .deps/vga_s3.Tpo .deps/vga_s3.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT vga_tseng.o -MD -MP -MF .deps/vga_tseng.Tpo -c -o vga_tseng.o vga_tseng.cpp
mv -f .deps/vga_tseng.Tpo .deps/vga_tseng.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT vga_paradise.o -MD -MP -MF .deps/vga_paradise.Tpo -c -o vga_paradise.o vga_paradise.cpp
mv -f .deps/vga_paradise.Tpo .deps/vga_paradise.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT cmos.o -MD -MP -MF .deps/cmos.Tpo -c -o cmos.o cmos.cpp
mv -f .deps/cmos.Tpo .deps/cmos.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT disney.o -MD -MP -MF .deps/disney.Tpo -c -o disney.o disney.cpp
mv -f .deps/disney.Tpo .deps/disney.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT gus.o -MD -MP -MF .deps/gus.Tpo -c -o gus.o gus.cpp
mv -f .deps/gus.Tpo .deps/gus.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT mpu401.o -MD -MP -MF .deps/mpu401.Tpo -c -o mpu401.o mpu401.cpp
mv -f .deps/mpu401.Tpo .deps/mpu401.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT ipx.o -MD -MP -MF .deps/ipx.Tpo -c -o ipx.o ipx.cpp
mv -f .deps/ipx.Tpo .deps/ipx.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT ipxserver.o -MD -MP -MF .deps/ipxserver.Tpo -c -o ipxserver.o ipxserver.cpp
mv -f .deps/ipxserver.Tpo .deps/ipxserver.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT dbopl.o -MD -MP -MF .deps/dbopl.Tpo -c -o dbopl.o dbopl.cpp
mv -f .deps/dbopl.Tpo .deps/dbopl.Po
rm -f libhardware.a
ar cru libhardware.a adlib.o dma.o gameblaster.o hardware.o iohandler.o joystick.o keyboard.o memory.o mixer.o pcspeaker.o pci_bus.o pic.o sblaster.o tandy_sound.o timer.o vga.o vga_attr.o vga_crtc.o vga_dac.o vga_draw.o vga_gfx.o vga_other.o vga_memory.o vga_misc.o vga_seq.o vga_xga.o vga_s3.o vga_tseng.o vga_paradise.o cmos.o disney.o gus.o mpu401.o ipx.o ipxserver.o dbopl.o
ranlib libhardware.a
make[4]: Leaving directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/hardware'
make[3]: Leaving directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/hardware'
Making all in libs
make[3]: Entering directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/libs'
Making all in zmbv
make[4]: Entering directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/libs/zmbv'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/libs/zmbv'
Making all in gui_tk
make[4]: Entering directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/libs/gui_tk'
g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT gui_tk.o -MD -MP -MF .deps/gui_tk.Tpo -c -o gui_tk.o gui_tk.cpp
mv -f .deps/gui_tk.Tpo .deps/gui_tk.Po
rm -f libgui_tk.a
ar cru libgui_tk.a gui_tk.o
ranlib libgui_tk.a
make[4]: Leaving directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/libs/gui_tk'
make[4]: Entering directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/libs'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/libs'
make[3]: Leaving directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/libs'
Making all in ints
make[3]: Entering directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/ints'
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT mouse.o -MD -MP -MF .deps/mouse.Tpo -c -o mouse.o mouse.cpp
mv -f .deps/mouse.Tpo .deps/mouse.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT xms.o -MD -MP -MF .deps/xms.Tpo -c -o xms.o xms.cpp
mv -f .deps/xms.Tpo .deps/xms.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT ems.o -MD -MP -MF .deps/ems.Tpo -c -o ems.o ems.cpp
mv -f .deps/ems.Tpo .deps/ems.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT int10.o -MD -MP -MF .deps/int10.Tpo -c -o int10.o int10.cpp
mv -f .deps/int10.Tpo .deps/int10.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT int10_char.o -MD -MP -MF .deps/int10_char.Tpo -c -o int10_char.o int10_char.cpp
mv -f .deps/int10_char.Tpo .deps/int10_char.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT int10_memory.o -MD -MP -MF .deps/int10_memory.Tpo -c -o int10_memory.o int10_memory.cpp
mv -f .deps/int10_memory.Tpo .deps/int10_memory.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT int10_misc.o -MD -MP -MF .deps/int10_misc.Tpo -c -o int10_misc.o int10_misc.cpp
mv -f .deps/int10_misc.Tpo .deps/int10_misc.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT int10_modes.o -MD -MP -MF .deps/int10_modes.Tpo -c -o int10_modes.o int10_modes.cpp
mv -f .deps/int10_modes.Tpo .deps/int10_modes.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT int10_vesa.o -MD -MP -MF .deps/int10_vesa.Tpo -c -o int10_vesa.o int10_vesa.cpp
mv -f .deps/int10_vesa.Tpo .deps/int10_vesa.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT int10_pal.o -MD -MP -MF .deps/int10_pal.Tpo -c -o int10_pal.o int10_pal.cpp
mv -f .deps/int10_pal.Tpo .deps/int10_pal.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT int10_put_pixel.o -MD -MP -MF .deps/int10_put_pixel.Tpo -c -o int10_put_pixel.o int10_put_pixel.cpp
mv -f .deps/int10_put_pixel.Tpo .deps/int10_put_pixel.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT int10_video_state.o -MD -MP -MF .deps/int10_video_state.Tpo -c -o int10_video_state.o int10_video_state.cpp
mv -f .deps/int10_video_state.Tpo .deps/int10_video_state.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT int10_vptable.o -MD -MP -MF .deps/int10_vptable.Tpo -c -o int10_vptable.o int10_vptable.cpp
mv -f .deps/int10_vptable.Tpo .deps/int10_vptable.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT bios.o -MD -MP -MF .deps/bios.Tpo -c -o bios.o bios.cpp
mv -f .deps/bios.Tpo .deps/bios.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT bios_disk.o -MD -MP -MF .deps/bios_disk.Tpo -c -o bios_disk.o bios_disk.cpp
mv -f .deps/bios_disk.Tpo .deps/bios_disk.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT bios_keyboard.o -MD -MP -MF .deps/bios_keyboard.Tpo -c -o bios_keyboard.o bios_keyboard.cpp
mv -f .deps/bios_keyboard.Tpo .deps/bios_keyboard.Po
rm -f libints.a
ar cru libints.a mouse.o xms.o ems.o int10.o int10_char.o int10_memory.o int10_misc.o int10_modes.o int10_vesa.o int10_pal.o int10_put_pixel.o int10_video_state.o int10_vptable.o bios.o bios_disk.o bios_keyboard.o
ranlib libints.a
make[3]: Leaving directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/ints'
Making all in misc
make[3]: Entering directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/misc'
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT cross.o -MD -MP -MF .deps/cross.Tpo -c -o cross.o cross.cpp
mv -f .deps/cross.Tpo .deps/cross.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT messages.o -MD -MP -MF .deps/messages.Tpo -c -o messages.o messages.cpp
mv -f .deps/messages.Tpo .deps/messages.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT programs.o -MD -MP -MF .deps/programs.Tpo -c -o programs.o programs.cpp
mv -f .deps/programs.Tpo .deps/programs.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT setup.o -MD -MP -MF .deps/setup.Tpo -c -o setup.o setup.cpp
mv -f .deps/setup.Tpo .deps/setup.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT support.o -MD -MP -MF .deps/support.Tpo -c -o support.o support.cpp
mv -f .deps/support.Tpo .deps/support.Po
rm -f libmisc.a
ar cru libmisc.a cross.o messages.o programs.o setup.o support.o
ranlib libmisc.a
make[3]: Leaving directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/misc'
Making all in shell
make[3]: Entering directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/shell'
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT shell.o -MD -MP -MF .deps/shell.Tpo -c -o shell.o shell.cpp
mv -f .deps/shell.Tpo .deps/shell.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT shell_batch.o -MD -MP -MF .deps/shell_batch.Tpo -c -o shell_batch.o shell_batch.cpp
mv -f .deps/shell_batch.Tpo .deps/shell_batch.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT shell_cmds.o -MD -MP -MF .deps/shell_cmds.Tpo -c -o shell_cmds.o shell_cmds.cpp
mv -f .deps/shell_cmds.Tpo .deps/shell_cmds.Po
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT shell_misc.o -MD -MP -MF .deps/shell_misc.Tpo -c -o shell_misc.o shell_misc.cpp
mv -f .deps/shell_misc.Tpo .deps/shell_misc.Po
rm -f libshell.a
ar cru libshell.a shell.o shell_batch.o shell_cmds.o shell_misc.o
ranlib libshell.a
make[3]: Leaving directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/shell'
Making all in platform
make[3]: Entering directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/platform'
Making all in visualc
make[4]: Entering directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/platform/visualc'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/platform/visualc'
make[4]: Entering directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/platform'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/platform'
make[3]: Leaving directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src/platform'
make[3]: Entering directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src'
g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I/mingw/include/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -g -O2 -mno-ms-bitfields -MT dosbox.o -MD -MP -MF .deps/dosbox.Tpo -c -o dosbox.o dosbox.cpp
mv -f .deps/dosbox.Tpo .deps/dosbox.Po
windres -o winres.o winres.rc
g++ -g -O2 -mno-ms-bitfields -static-libgcc -static-libstdc++ -s -o dosbox.exe dosbox.o winres.o cpu/libcpu.a debug/libdebug.a dos/libdos.a fpu/libfpu.a hardware/libhardware.a gui/libgui.a ints/libints.a misc/libmisc.a shell/libshell.a hardware/serialport/libserial.a libs/gui_tk/libgui_tk.a -lSDL_sound -lvorbisfile -lvorbis -logg -L/mingw/lib -lmingw32 -lSDLmain -lSDL -mwindows -lpng -lz -lSDL_net -lopengl32 -lwinmm -lws2_32 -lmt32emu
make[3]: Leaving directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src'
make[2]: Leaving directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/src'
Making all in include
make[2]: Entering directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/include'
Making all in docs
make[2]: Entering directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/docs'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/docs'
Making all in visualc_net
make[2]: Entering directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/visualc_net'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk/visualc_net'
make[2]: Entering directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk'
make[1]: Leaving directory `/home/M4C/dosbox-code-0-4008-dosbox-trunk'
It works but an error shows up when I press CTRL+F9 or click the close button to exit. It's fine if I type exit and press Enter.
Runtime Error!
Program U:\DOSBox\SVN\dosbox.exe
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.