mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-07-24 10:25:42 -04:00
In far too many places, especially in directives, we don't accept an actual expression because, realistically, there have been way too many hoops to jump through to do so. Add helper functions to make that far easier. Signed-off-by: H. Peter Anvin <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-2017 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 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.