How to compile the MPEGplus decoder?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

First step on all Operating Systems and all compilers:

    - Edit mpp.h and select features
    - Install NASM if you want to use enhanced assembler routines on 32 bit
      Intel CPUs
    - If you are using a Pentium Classic (P54) or Pentium MMX (P55),
      setting %USE_FXCH in synthasm.nas increase performance by 5...10%. 
      For other CPUs it decreases performance.


MS-DOS:
    Turbo-C:
        Command line:
            maketcc.bat
        Turbo-C IDE:
            Open Project "mpp.prj" and compile it

    Zortech-C:
        Command line:
            makeztc.bat

    DJGCC:
        Command line:

    WATCOM C/C++:

Windows:

    Microsoft C/C++:
        NasmW.exe should be installed in "C:\Program Files\Nasm\NasmW.exe"
        Command line:
            Compile Project "config.mak"
            run config.exe
            Compile Project "mppdec.mak"

        Microsoft Developer Studio:
            open workspace mpp.dsw
            select project config.dsp
            compile it and execute it (config.exe)
            select project mpp.dsp
            compile release version.

    Intel C/C++
        NasmW.exe should be installed in "C:\Program Files\Nasm\NasmW.exe"
        Command line:
            Compile Project "config.mak"
            run config.exe
            Compile Project "mppdec.mak"

        Microsoft Developer Studio:
            open workspace mpp.dsw
            select project config.dsp
            compile it and execute it (config.exe)
            select project mpp.dsp
            compile release version.

    Cygnus C/C++
        NasmW.exe should be installed in the %PATH% as nasm.exe
        See Linux GNU gcc

Linux:
    GNU gcc:

        make
        make install


Sun (Solaris 2.7):
    make -f Makefile.sun
    make -f Makefile.sun install

    Notes:

    librt.a is needed for option USE_REALTIME on Solaris. If your system
    is lacking librt.a you are unable to build a static executable with
    realtime-support. Although you can still perfectly use the dynamic
    executable.

    Volume, Balance and Audio-Port (Line-Out, Speaker or Headphone) can be
    adjusted with Sun's gaintool.


Other Unices:
    make -f Makefile.nol
    make -f Makefile.nol install


Note:
    You can safely ignore all warnings during compiling config.c


-----------------------------------------------------------------------------

Report any problem to:
        <pfk@schnecke.offl.uni-jena.de>

Report any problem on Sun workstations to:
        <patrick.piecha@micronas.com>
