mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-21 03:14:19 +08:00
1286a2da4e
Merge a bunch of common code in the handling of modr/m generation. Make the handing of compressed disp8 simpler and more transparent by exporting a the shift factor for the compressed immediate in ea_data. For the case of no compression, the shift factor is simply 0; there is no need to distinguish "compressed" from "uncompressed". The tidied up version of the disp8 code is simple enough that it makes more sense to inline it. Signed-off-by: H. Peter Anvin <hpa@zytor.com> |
||
---|---|---|
.. | ||
msvc.mak | ||
openwcom.mak | ||
README |
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.