mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-08-23 10:33:50 -04:00
The very simple compression scheme used for the builtin macro sets no longer works adequately, and in fact it generates incorrect output now. Drop the whole idea of an ad hoc compression scheme and just use zlib. For the case where there is no system zlib available, include a (subset of) the zlib distribution. The configure script can be set to force this included zlib if desired (e.g. for testing.) Unfortunately this turned out to be a pretty painful can of worms in terms of complexity. On the other hand having zlib available might be useful at some point in the future. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
These are pre-created Makefiles for various platforms, use them if GNU autoconf/automake packages are not supported on your system. The Makefiles are: Filename Target Compiler Tested with --------------------------------------------------------------------------- msvc.mak Win32 MS Visual C++ Visual Visual Studio 2013-2022 For building on a Win32 host using Microsoft Visual C++. Usage: nmake /f Mkfiles\msvc.mak If the following tools are installed, the full installer package can be built: 1. Perl (5.6 or later), e.g. ActivePerl or StrawberryPerl http://strawberryperl.com/ 2. Nullsoft Scriptable Install System (makensis) http://nsis.sourceforge.net/Download 3. Ghostscript (ps2pdf) or Acrobat Distriller (acrodist) https://downloads.ghostscript.com/ 4. The Adobe Source Sans Pro and Source Code Pro fonts https://github.com/adobe-fonts 5. The Perl module Font::TTF (can usually be installed via the "CPAN Client" in your Perl distribution) http://search.cpan.org/~bhallissy/Font-TTF/ 6. The Perl module Sort::Versions (can usually be installed via the "CPAN Client" in your Perl distribution) http://search.cpan.org/~neilb/Sort-Versions-1.62/lib/Sort/Versions.pm The tools need to be in your current path. To build the installer package, run: nmake /f Mkfiles\msvc.mak everything nsis NOTE: the preferred way to build NASM on Windows is to use the standard configure script under the MSYS2 environment. See http://www.msys2.org/. Filename Target Compiler Tested with --------------------------------------------------------------------------- openwcom.mak DOS,Win32,OS/2 OpenWatcom C OpenWatcom 1.7 (Win32) Linux (386) OpenWatcom 1.9 (Linux) For building on a DOS, OS/2, Win32 or Linux host using OpenWatcom. OpenWatcom can be downloaded from http://www.openwatcom.org/. Usage: wmake /f Mkfiles/openwcom.mak <target> <target> is dos, win32, os2, or linux386.