PACKAGE NAME ------------ neko_dosbox DESCRIPTION ----------- An x86 emulator with DOS. See https://www.dosbox.com/ for more information SOURCE/VERSION -------------- dosbox-0.74-2 / 1 IRIX/MIPSPRO VERSION -------------------- 6.5.22 / 7.4.4m ENVIRONMENT VARIABLES --------------------- setenv CC c99 setenv CXX CC setenv CFLAGS '-O2 -mips4 -n32 -OPT:Olimit=0' setenv CXXFLAGS '-O2 -mips4 -n32 -OPT:Olimit=0' setenv CPPFLAGS -I/usr/nekoware/include setenv LDFLAGS -L/usr/nekoware/lib setenv LIBS '-lgen -lm' for compiling on mips3 systems use: setenv CFLAGS '-O2 -mips3 -n32 -OPT:Olimit=0' setenv CXXFLAGS '-O2 -mips3 -n32 -OPT:Olimit=0' CONFIGURE --------- cd dosbox-0.74-2 patch -p0 < dosbox-0.74-2_irix.patch ./configure --prefix=/usr/nekoware BUILD ----- gmake gmake install mkdir -p /usr/nekoware/share/doc/doxbox cp README /usr/nekoware/share/doc/doxbox for a semi-static build without nekoware dependencies: cd src CC -O2 -mips4 -n32 -OPT:Olimit=0 -L/usr/nekoware/lib -o dosbox-static dosbox.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/mame/libmame.a hardware/serialport/libserial.a libs/gui_tk/libgui_tk.a -B static -lSDL_sound -lvorbisfile -lvorbis -logg -lFLAC -lspeex -lmikmod -lSDL -liconv -lpng -lz -lSDL_net -B dynamic -lpthread -lX11 -lXext -lgen -lm -laudio -lGL and install with: ../install-sh -c dosbox-static '/usr/nekoware/bin' KNOWN DEPENDENCIES ------------------ neko_sdl.sw.lib 13 neko_sdl_sound.sw.lib 2 neko_sdl_net.sw.lib 5 neko_libpng16.sw.lib 1 neko_zlib.sw.lib 9 gmake to build the package ERRORS/MISCELLANEOUS -------------------- The patch fixes: - replacing stdint.h with inttypes.h in C++ - replacing C++ archiver in Makefiles , which is CC -ar for MIPSPro compilers - inline keyword, though it's not really needed for c99 - #pragma packed which is defined differently in the MIPSPro preprocessor. Luckily we can use the defines for the Visual Studio compiler - variadic macros in C++ source - definition of lround This package has dual support for both mips3 and mips4 architecture, controlled by the mach(CPUARCH=R4000) switch for libraries and executables. PACKAGED BY ----------- S/N VER PORTER Date --------------------------------------------------------------- 1 0.74-2 Frank Everdij (dexter1@gmail.com) 16-06-2019