mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-04-12 18:40:23 +08:00
Update the INSTALL file to match current reality
This commit is contained in:
parent
a50a4449e5
commit
a396a18074
49
INSTALL
49
INSTALL
@ -1,30 +1,31 @@
|
||||
1. Installing NASM from source (Unix, MacOS X, Windows/Cygwin,
|
||||
Windows/MinGW)
|
||||
2. Installing NASM from source (Windows/MS Visual C++)
|
||||
3. Installing NASM from source (DOS-Windows-OS/2/OpenWatcom)
|
||||
1. Installing NASM from source (Unix, MacOS X; Windows - Cygwin;
|
||||
Windows - MinGW; DOS - DJGPP)
|
||||
2. Installing NASM from source (Windows - MS Visual C++)
|
||||
3. Installing NASM from source (DOS, Windows, OS/2 - OpenWatcom)
|
||||
|
||||
|
||||
1. Installing NASM from source (Unix, MacOS X, Windows/Cygwin, Windows/MinGW)
|
||||
=============================================================================
|
||||
1. Installing NASM from source (Unix, MacOS X; Windows - Cygwin;
|
||||
Windows - MinGW; DOS - DJGPP)
|
||||
================================================================
|
||||
|
||||
Installing NASM is pretty straightforward on Unix or Unix-like systems
|
||||
with Perl and GNU tools installed, including MinGW for Windows with
|
||||
MSYS installed. Perl is optional for compiling unmodified sources
|
||||
from a tarball, but is required to build from git or for most source
|
||||
modifications.
|
||||
with a C compiler, Make, and standard shell tools installed, including
|
||||
MinGW for Windows (with MSYS installed) and DJGPP for DOS with the
|
||||
appropriate tools. Perl is not required for compiling unmodified
|
||||
sources from a tarball, but is required to build from git or for most
|
||||
source modifications.
|
||||
|
||||
If you checked out source from git you will need to run autoconf to
|
||||
generate configure, otherwise you don't have to.
|
||||
|
||||
$ autoheader
|
||||
$ autoconf
|
||||
$ sh autogen.sh
|
||||
|
||||
Then run configure to detect your platform settings and generate makefiles.
|
||||
|
||||
$ ./configure
|
||||
$ sh configure
|
||||
|
||||
You can get information about available configuration options by
|
||||
running `./configure --help`.
|
||||
running `sh configure --help`.
|
||||
|
||||
If configure fails, please file a bug report with detailed platform
|
||||
information at:
|
||||
@ -69,11 +70,11 @@ to install everything =)
|
||||
Thats it, enjoy!
|
||||
|
||||
|
||||
2. Installing NASM from source (Windows/MS Visual C++)
|
||||
======================================================
|
||||
2. Installing NASM from source (Windows - MS Visual C++)
|
||||
========================================================
|
||||
|
||||
The recommended compiler for NASM on Windows is MinGW
|
||||
(http://www.mingw.org), but it is also possible to compile with
|
||||
(http://www.mingw.org/), but it is also possible to compile with
|
||||
Microsoft Visual C++ (tested with Visual C++ 2005 Express Edition.)
|
||||
|
||||
To do so, start the "Visual C++ Command Shell", go to the directory
|
||||
@ -86,18 +87,16 @@ up to date with regards to C99 compliance, and we are increasingly
|
||||
using C99 features in NASM.
|
||||
|
||||
|
||||
3. Installing NASM from source (DOS-Windows-OS/2/OpenWatcom)
|
||||
============================================================
|
||||
3. Installing NASM from source (DOS, Windows, OS/2 - OpenWatcom)
|
||||
================================================================
|
||||
|
||||
NASM has been reported to build correctly with OpenWatcom 1.7 on and
|
||||
OS/2 platform. The NASM developers have not tested this on any other
|
||||
platforms.
|
||||
NASM has been reported to build correctly with OpenWatcom 1.7 on the
|
||||
Windows and OS/2 platforms. In addition, it *should* work under DOS
|
||||
with the DOS4GW DOS extender, although the NASM developers recommend
|
||||
using DJGPP with the CWSDPMI DOS extender instead.
|
||||
|
||||
A WMAKE make file is provided:
|
||||
|
||||
> wmake -f Mkfiles\openwcom.mak <platform>
|
||||
|
||||
... where <platform> is "dos", "win32" or "os2".
|
||||
|
||||
NASM is known to NOT compile correctly using OpenWatcom 1.7.1 as a
|
||||
cross compiler with a Linux host (OpenWatcom bug report 751.)
|
||||
|
Loading…
x
Reference in New Issue
Block a user