If you want to take advantage of the new x86 assembly optimizations
you need to make sure you have a current copy of
NASM. Notes regarding
specific platform issues are below.
Linux
You'll need perl and NASM in order to compile the latest MP3
decoder assembly optimizations. If you don't have NASM, you can
still compile successfully, but you'll only be able to use some of
the older optimizations written in gas.
Under Linux you must first build the binary:
./configure
make
then install it (by default, /usr/local/bin which can be
changed by providing the --bindir switch on the configure command
line. do a ./configure --help for more info) :
make install
(zinf is installed to $(bindir), as set above)
(plugins are installed to $(libdir)/zinf/plugins, as set
above)
Windows 95/98/NT
Build:
The main project file is located in the base\win32\prj directory.
The file zinf.dsw organizes all the sub-projects and builds
all the modules. As of the first release only MS Visual C++ 5.0
project files and nmake makefiles are provided. Feel free to add
other development environments such as Borland and Metrowerks.
NOTE: In order for the build to succeed you will need to install the
SGI STL, which you can download
from here.
The SGI STL is much more stable than the M$ STL.
Under MS VC++ you should open the file base\win32\prj\zinf.dsw
and determine which build you want to do. If you want to take
advantage of the assembly optimizations you need to have NASM
installed and correctly configure DevStudio to use it. Select the
"Tools/Options..." Menu and then choose the "Directories" tab.
Select "Executables" in the "Show directories for..." ComboBox and
enter the path where NASM lives on your computer (i.e. c:\temp).
Once this is done select either NASM Release or Debug as the active
configuration. Output will go to base\win32\prj. You can
run Zinf from here or move it to another directory. Just
make sure the plugins directory is in the same location.
|