commit c73b88f
hovercats
·
2024-02-03 12:32:27 +0000 UTC
parent ab11fec
nasm: build with oasis instead
15 files changed,
+525,
-50
M
sets.lua
+1,
-0
1@@ -33,6 +33,7 @@ subgen 'make'
2 subgen 'man-pages-posix'
3 subgen 'mandoc'
4 subgen 'musl'
5+subgen 'nasm'
6 subgen 'netbsd-curses'
7 subgen 'oksh'
8 subgen 'openbsd'
+2,
-0
1@@ -0,0 +1,2 @@
2+/nasm-2.15.05.tar.gz
3+/src
+373,
-0
1@@ -0,0 +1,373 @@
2+/* #undef ABORT_ON_PANIC */
3+/* #undef AC_APPLE_UNIVERSAL_BUILD */
4+#define CFLAGS_FDATA_SECTIONS 1
5+#define CFLAGS_FFUNCTION_SECTIONS 1
6+/* #undef CFLAGS_FGNU89_INLINE */
7+/* #undef CFLAGS_FLTO */
8+#define CFLAGS_FNO_COMMON 1
9+/* #undef CFLAGS_FNO_OMIT_FRAME_POINTER */
10+/* #undef CFLAGS_FSANITIZE_ADDRESS */
11+/* #undef CFLAGS_FSANITIZE_UNDEFINED */
12+/* #undef CFLAGS_FTRIVIAL_AUTO_VAR_INIT_ZERO */
13+#define CFLAGS_FVISIBILITY_HIDDEN 1
14+#define CFLAGS_FWRAPV 1
15+/* #undef CFLAGS_GGDB3 */
16+/* #undef CFLAGS_O0 */
17+#define CFLAGS_PEDANTIC 1
18+/* #undef CFLAGS_PG */
19+/* #undef CFLAGS_STD_C11 */
20+#define CFLAGS_STD_C17 1
21+/* #undef CFLAGS_STD_C99 */
22+#define CFLAGS_U_STRICT_ANSI 1
23+#define CFLAGS_W 1
24+#define CFLAGS_WALL 1
25+#define CFLAGS_WC90_C99_COMPAT 1
26+/* #undef CFLAGS_WC99_COMPAT */
27+/* #undef CFLAGS_WC99_EXTENSIONS */
28+/* #undef CFLAGS_WERROR */
29+#define CFLAGS_WERROR_ATTRIBUTES 1
30+#define CFLAGS_WERROR_COMMENT 1
31+#define CFLAGS_WERROR_IMPLICIT 1
32+#define CFLAGS_WERROR_MISSING_BRACES 1
33+#define CFLAGS_WERROR_MISSING_DECLARATIONS 1
34+#define CFLAGS_WERROR_MISSING_PROTOTYPES 1
35+#define CFLAGS_WERROR_POINTER_ARITH 1
36+#define CFLAGS_WERROR_RETURN_TYPE 1
37+/* #undef CFLAGS_WERROR_STRICT_PROTOTYPES */
38+#define CFLAGS_WERROR_TRIGRAPHS 1
39+/* #undef CFLAGS_WERROR_UNKNOWN_WARNING_OPTION */
40+#define CFLAGS_WERROR_VLA 1
41+#define CFLAGS_WLONG_LONG 1
42+/* #undef CFLAGS_WPEDANTIC_MS_FORMAT */
43+#define CFLAGS_WSHIFT_NEGATIVE_VALUE 1
44+#define CFLAGS_WSTRINGOP_TRUNCATION 1
45+/* #undef CFLAGS_WSUGGEST_ATTRIBUTE_COLD */
46+/* #undef CFLAGS_WSUGGEST_ATTRIBUTE_CONST */
47+/* #undef CFLAGS_WSUGGEST_ATTRIBUTE_FORMAT */
48+/* #undef CFLAGS_WSUGGEST_ATTRIBUTE_MALLOC */
49+/* #undef CFLAGS_WSUGGEST_ATTRIBUTE_NORETURN */
50+/* #undef CFLAGS_WSUGGEST_ATTRIBUTE_PURE */
51+#define HAVE_ACCESS 1
52+/* #undef HAVE_CANONICALIZE_FILE_NAME */
53+/* #undef HAVE_CPU_TO_LE16 */
54+/* #undef HAVE_CPU_TO_LE32 */
55+/* #undef HAVE_CPU_TO_LE64 */
56+#define HAVE_DECL_STRCASECMP 1
57+#define HAVE_DECL_STRICMP 0
58+#define HAVE_DECL_STRLCPY 1
59+#define HAVE_DECL_STRNCASECMP 1
60+#define HAVE_DECL_STRNICMP 0
61+#define HAVE_DECL_STRNLEN 1
62+#define HAVE_DECL_STRRCHRNUL 0
63+#define HAVE_DECL_STRSEP 1
64+#define HAVE_ENDIAN_H 1
65+#define HAVE_FACCESSAT 1
66+#define HAVE_FCNTL_H 1
67+#define HAVE_FILENO 1
68+#define HAVE_FSEEKO 1
69+#define HAVE_FSTAT 1
70+#define HAVE_FTRUNCATE 1
71+#define HAVE_FUNC_ATTRIBUTE1_ALLOC_SIZE 1
72+/* #undef HAVE_FUNC_ATTRIBUTE2_ALLOC_SIZE */
73+#define HAVE_FUNC_ATTRIBUTE3_FORMAT 1
74+#define HAVE_FUNC_ATTRIBUTE_COLD 1
75+#define HAVE_FUNC_ATTRIBUTE_CONST 1
76+#define HAVE_FUNC_ATTRIBUTE_ERROR 1
77+#define HAVE_FUNC_ATTRIBUTE_MALLOC 1
78+#define HAVE_FUNC_ATTRIBUTE_NORETURN 1
79+#define HAVE_FUNC_ATTRIBUTE_PURE 1
80+#define HAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL 1
81+#define HAVE_FUNC_ATTRIBUTE_SENTINEL 1
82+#define HAVE_FUNC_ATTRIBUTE_UNUSED 1
83+#define HAVE_FUNC_PTR_ATTRIBUTE1_ALLOC_SIZE 1
84+/* #undef HAVE_FUNC_PTR_ATTRIBUTE2_ALLOC_SIZE */
85+#define HAVE_FUNC_PTR_ATTRIBUTE3_FORMAT 1
86+/* #undef HAVE_FUNC_PTR_ATTRIBUTE_COLD */
87+#define HAVE_FUNC_PTR_ATTRIBUTE_CONST 1
88+/* #undef HAVE_FUNC_PTR_ATTRIBUTE_MALLOC */
89+#define HAVE_FUNC_PTR_ATTRIBUTE_NORETURN 1
90+/* #undef HAVE_FUNC_PTR_ATTRIBUTE_PURE */
91+#define HAVE_FUNC_PTR_ATTRIBUTE_RETURNS_NONNULL 1
92+#define HAVE_FUNC_PTR_ATTRIBUTE_SENTINEL 1
93+#define HAVE_FUNC_PTR_ATTRIBUTE_UNUSED 1
94+#define HAVE_GETGID 1
95+#define HAVE_GETPAGESIZE 1
96+#define HAVE_GETRLIMIT 1
97+#define HAVE_GETUID 1
98+#define HAVE_HTOLE16 1
99+#define HAVE_HTOLE32 1
100+#define HAVE_HTOLE64 1
101+/* #undef HAVE_INTRIN_H */
102+#define HAVE_INTTYPES_H 1
103+/* #undef HAVE_IO_H */
104+#define HAVE_ISASCII 1
105+#define HAVE_ISCNTRL 1
106+/* #undef HAVE_MACHINE_ENDIAN_H */
107+#define HAVE_MEMORY_H 1
108+#define HAVE_MEMPCPY 1
109+#define HAVE_MMAP 1
110+#define HAVE_PATHCONF 1
111+#define HAVE_REALPATH 1
112+#define HAVE_SNPRINTF 1
113+#define HAVE_STAT 1
114+#define HAVE_STDARG_H 1
115+#define HAVE_STDBOOL_H 1
116+#define HAVE_STDC_INLINE 1
117+#define HAVE_STDINT_H 1
118+#define HAVE_STDLIB_H 1
119+#define HAVE_STDNORETURN_H 1
120+#define HAVE_STRCASECMP 1
121+/* #undef HAVE_STRICMP */
122+#define HAVE_STRINGS_H 1
123+#define HAVE_STRING_H 1
124+#define HAVE_STRLCPY 1
125+#define HAVE_STRNCASECMP 1
126+/* #undef HAVE_STRNICMP */
127+#define HAVE_STRNLEN 1
128+/* #undef HAVE_STRRCHRNUL */
129+#define HAVE_STRSEP 1
130+#define HAVE_STRUCT_STAT 1
131+/* #undef HAVE_STRUCT__STATI64 */
132+#define HAVE_SYSCONF 1
133+/* #undef HAVE_SYS_ENDIAN_H */
134+#define HAVE_SYS_MMAN_H 1
135+#define HAVE_SYS_PARAM_H 1
136+#define HAVE_SYS_RESOURCE_H 1
137+#define HAVE_SYS_STAT_H 1
138+#define HAVE_SYS_TYPES_H 1
139+/* #undef HAVE_S_ISREG */
140+#define HAVE_TYPEOF 1
141+#define HAVE_UINTPTR_T 1
142+#define HAVE_UNISTD_H 1
143+#define HAVE_VSNPRINTF 1
144+/* #undef HAVE__ACCESS */
145+/* #undef HAVE__BITSCANREVERSE */
146+/* #undef HAVE__BITSCANREVERSE64 */
147+#define HAVE__BOOL 1
148+/* #undef HAVE__BYTESWAP_UINT64 */
149+/* #undef HAVE__BYTESWAP_ULONG */
150+/* #undef HAVE__BYTESWAP_USHORT */
151+/* #undef HAVE__CHSIZE */
152+/* #undef HAVE__CHSIZE_S */
153+/* #undef HAVE__FILENO */
154+/* #undef HAVE__FSEEKI64 */
155+/* #undef HAVE__FSTATI64 */
156+/* #undef HAVE__FULLPATH */
157+/* #undef HAVE__STATI64 */
158+/* #undef HAVE___BSWAP_16 */
159+/* #undef HAVE___BSWAP_32 */
160+/* #undef HAVE___BSWAP_64 */
161+#define HAVE___BUILTIN_BSWAP16 1
162+#define HAVE___BUILTIN_BSWAP32 1
163+#define HAVE___BUILTIN_BSWAP64 1
164+/* probe HAVE___BUILTIN_CHOOSE_EXPR */
165+/* probe HAVE___BUILTIN_CLZ */
166+#define HAVE___BUILTIN_CLZL 1
167+#define HAVE___BUILTIN_CLZLL 1
168+#define HAVE___BUILTIN_CONSTANT_P 1
169+#define HAVE___BUILTIN_EXPECT 1
170+/* #undef HAVE___CPU_TO_LE16 */
171+/* #undef HAVE___CPU_TO_LE32 */
172+/* #undef HAVE___CPU_TO_LE64 */
173+#define LDFLAGS_WL_GC_SECTIONS 1
174+#define PACKAGE_BUGREPORT ""
175+#define PACKAGE_NAME ""
176+#define PACKAGE_STRING ""
177+#define PACKAGE_TARNAME ""
178+#define PACKAGE_URL ""
179+#define PACKAGE_VERSION ""
180+#define STDC_HEADERS 1
181+#ifndef _ALL_SOURCE
182+# define _ALL_SOURCE 1
183+#endif
184+#ifndef _GNU_SOURCE
185+# define _GNU_SOURCE 1
186+#endif
187+#ifndef _POSIX_PTHREAD_SEMANTICS
188+# define _POSIX_PTHREAD_SEMANTICS 1
189+#endif
190+#ifndef _TANDEM_SOURCE
191+# define _TANDEM_SOURCE 1
192+#endif
193+#ifndef __EXTENSIONS__
194+# define __EXTENSIONS__ 1
195+#endif
196+/* #undef WORDS_BIGENDIAN */
197+#define WORDS_LITTLEENDIAN 1
198+#ifndef _DARWIN_USE_64_BIT_INODE
199+# define _DARWIN_USE_64_BIT_INODE 1
200+#endif
201+/* #undef _FILE_OFFSET_BITS */
202+/* #undef _LARGEFILE_SOURCE */
203+/* #undef _LARGE_FILES */
204+/* #undef _MINIX */
205+/* #undef _POSIX_1_SOURCE */
206+/* #undef _POSIX_SOURCE */
207+/* #undef const */
208+#ifndef __cplusplus
209+/* #undef inline */
210+#endif
211+#define restrict __restrict
212+#if defined __SUNPRO_CC && !defined __RESTRICT
213+# define _Restrict
214+# define __restrict__
215+#endif
216+/* #undef size_t */
217+/* #undef snprintf */
218+#define typeof __typeof__
219+/* #undef uintptr_t */
220+/* #undef vsnprintf */
221+#ifndef alloc_size_func2
222+# ifdef HAVE_FUNC_ATTRIBUTE2_ALLOC_SIZE
223+# define alloc_size_func2(x1,x2) __attribute__((alloc_size(x1,x2)))
224+# else
225+# define alloc_size_func2(x1,x2)
226+# endif
227+#endif
228+#ifndef alloc_size_func2_ptr
229+# ifdef HAVE_FUNC_PTR_ATTRIBUTE2_ALLOC_SIZE
230+# define alloc_size_func2_ptr(x1,x2) __attribute__((alloc_size(x1,x2)))
231+# else
232+# define alloc_size_func2_ptr(x1,x2)
233+# endif
234+#endif
235+#ifndef end_with_null
236+# ifdef HAVE_FUNC_ATTRIBUTE_SENTINEL
237+# define end_with_null __attribute__((sentinel))
238+# else
239+# define end_with_null
240+# endif
241+#endif
242+#ifndef end_with_null_ptr
243+# ifdef HAVE_FUNC_PTR_ATTRIBUTE_SENTINEL
244+# define end_with_null_ptr __attribute__((sentinel))
245+# else
246+# define end_with_null_ptr
247+# endif
248+#endif
249+#ifndef format_func3
250+# ifdef HAVE_FUNC_ATTRIBUTE3_FORMAT
251+# define format_func3(x1,x2,x3) __attribute__((format(x1,x2,x3)))
252+# else
253+# define format_func3(x1,x2,x3)
254+# endif
255+#endif
256+#ifndef format_func3_ptr
257+# ifdef HAVE_FUNC_PTR_ATTRIBUTE3_FORMAT
258+# define format_func3_ptr(x1,x2,x3) __attribute__((format(x1,x2,x3)))
259+# else
260+# define format_func3_ptr(x1,x2,x3)
261+# endif
262+#endif
263+#ifndef const_func
264+# ifdef HAVE_FUNC_ATTRIBUTE_CONST
265+# define const_func __attribute__((const))
266+# else
267+# define const_func
268+# endif
269+#endif
270+#ifndef const_func_ptr
271+# ifdef HAVE_FUNC_PTR_ATTRIBUTE_CONST
272+# define const_func_ptr __attribute__((const))
273+# else
274+# define const_func_ptr
275+# endif
276+#endif
277+#ifndef pure_func
278+# ifdef HAVE_FUNC_ATTRIBUTE_PURE
279+# define pure_func __attribute__((pure))
280+# else
281+# define pure_func
282+# endif
283+#endif
284+#ifndef pure_func_ptr
285+# ifdef HAVE_FUNC_PTR_ATTRIBUTE_PURE
286+# define pure_func_ptr __attribute__((pure))
287+# else
288+# define pure_func_ptr
289+# endif
290+#endif
291+#ifndef noreturn_func
292+# ifdef HAVE_FUNC_ATTRIBUTE_NORETURN
293+# define noreturn_func __attribute__((noreturn))
294+# else
295+# define noreturn_func
296+# endif
297+#endif
298+#ifndef unlikely_func
299+# ifdef HAVE_FUNC_ATTRIBUTE_COLD
300+# define unlikely_func __attribute__((cold))
301+# else
302+# define unlikely_func
303+# endif
304+#endif
305+#ifndef unlikely_func_ptr
306+# ifdef HAVE_FUNC_PTR_ATTRIBUTE_COLD
307+# define unlikely_func_ptr __attribute__((cold))
308+# else
309+# define unlikely_func_ptr
310+# endif
311+#endif
312+#ifndef unused_func
313+# ifdef HAVE_FUNC_ATTRIBUTE_UNUSED
314+# define unused_func __attribute__((unused))
315+# else
316+# define unused_func
317+# endif
318+#endif
319+#ifndef unused_func_ptr
320+# ifdef HAVE_FUNC_PTR_ATTRIBUTE_UNUSED
321+# define unused_func_ptr __attribute__((unused))
322+# else
323+# define unused_func_ptr
324+# endif
325+#endif
326+#ifndef noreturn_func_ptr
327+# ifdef HAVE_FUNC_PTR_ATTRIBUTE_NORETURN
328+# define noreturn_func_ptr __attribute__((noreturn))
329+# else
330+# define noreturn_func_ptr
331+# endif
332+#endif
333+#ifndef never_null
334+# ifdef HAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL
335+# define never_null __attribute__((returns_nonnull))
336+# else
337+# define never_null
338+# endif
339+#endif
340+#ifndef never_null_ptr
341+# ifdef HAVE_FUNC_PTR_ATTRIBUTE_RETURNS_NONNULL
342+# define never_null_ptr __attribute__((returns_nonnull))
343+# else
344+# define never_null_ptr
345+# endif
346+#endif
347+#ifndef malloc_func
348+# ifdef HAVE_FUNC_ATTRIBUTE_MALLOC
349+# define malloc_func __attribute__((malloc))
350+# else
351+# define malloc_func
352+# endif
353+#endif
354+#ifndef malloc_func_ptr
355+# ifdef HAVE_FUNC_PTR_ATTRIBUTE_MALLOC
356+# define malloc_func_ptr __attribute__((malloc))
357+# else
358+# define malloc_func_ptr
359+# endif
360+#endif
361+#ifndef alloc_size_func1
362+# ifdef HAVE_FUNC_ATTRIBUTE1_ALLOC_SIZE
363+# define alloc_size_func1(x1) __attribute__((alloc_size(x1)))
364+# else
365+# define alloc_size_func1(x1)
366+# endif
367+#endif
368+#ifndef alloc_size_func1_ptr
369+# ifdef HAVE_FUNC_PTR_ATTRIBUTE1_ALLOC_SIZE
370+# define alloc_size_func1_ptr(x1) __attribute__((alloc_size(x1)))
371+# else
372+# define alloc_size_func1_ptr(x1)
373+# endif
374+#endif
+74,
-0
1@@ -0,0 +1,74 @@
2+cflags{
3+ '-D HAVE_CONFIG_H',
4+ '-I $outdir',
5+ '-I $srcdir',
6+ '-I $srcdir/include',
7+ '-I $srcdir/x86',
8+ '-I $srcdir/asm',
9+ '-I $srcdir/disasm',
10+ '-I $srcdir/output',
11+}
12+
13+build('cat', '$outdir/config/config.h', {
14+ '$builddir/probe/HAVE___BUILTIN_CHOOSE_EXPR',
15+ '$builddir/probe/HAVE___BUILTIN_CLZ',
16+ '$dir/config.h',
17+})
18+
19+pkg.deps = {'$outdir/config/config.h'}
20+
21+lib('libnasm.a', [[
22+ stdlib/(snprintf.c vsnprintf.c strlcpy.c strnlen.c strrchrnul.c)
23+ nasmlib/(
24+ ver.c
25+ alloc.c asprintf.c errfile.c
26+ crc64.c md5c.c
27+ string.c nctype.c
28+ file.c mmap.c ilog2.c
29+ realpath.c path.c
30+ filename.c rlimit.c
31+ zerobuf.c readnum.c bsi.c
32+ rbtree.c hashtbl.c
33+ raa.c saa.c
34+ strlist.c
35+ perfhash.c badenum.c
36+ )
37+ common/common.c
38+ x86/(
39+ insnsa.c insnsb.c insnsd.c insnsn.c
40+ regs.c regvals.c regflags.c regdis.c
41+ disp8.c iflag.c
42+ )
43+ asm/(
44+ error.c warnings.c
45+ floats.c
46+ directiv.c directbl.c
47+ pragma.c
48+ assemble.c labels.c parser.c
49+ preproc.c quote.c pptok.c
50+ listing.c eval.c exprlib.c exprdump.c
51+ stdscan.c
52+ strfunc.c tokhash.c
53+ segalloc.c
54+ preproc-nop.c
55+ rdstrnum.c
56+ srcfile.c
57+ )
58+ macros/macros.c
59+ output/(
60+ outform.c outlib.c legacy.c
61+ nulldbg.c nullout.c
62+ outbin.c outaout.c outcoff.c
63+ outelf.c
64+ outobj.c outas86.c outrdf2.c
65+ outdbg.c outieee.c outmacho.c
66+ codeview.c
67+ )
68+ disasm/(disasm.c sync.c)
69+]])
70+
71+exe('nasm', {'asm/nasm.c', 'libnasm.a'})
72+file('bin/nasm', '755', '$outdir/nasm')
73+man{'nasm.1'}
74+
75+fetch 'curl'
1@@ -0,0 +1,70 @@
2+From b6860ea26851edb599bfe0e2d08d212c6a7aaeec Mon Sep 17 00:00:00 2001
3+From: Val Lorentz <progval@progval.net>
4+Date: Sun, 29 Jan 2017 17:39:54 -0800
5+Subject: [PATCH] Remove date from version info to make build reproducible
6+
7+Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
8+---
9+ asm/nasm.c | 4 ++--
10+ disasm/ndisasm.c | 4 ++--
11+ include/ver.h | 1 -
12+ nasmlib/ver.c | 1 -
13+ 4 files changed, 4 insertions(+), 6 deletions(-)
14+
15+diff --git a/asm/nasm.c b/asm/nasm.c
16+index e5ae89af..70024db5 100644
17+--- a/asm/nasm.c
18++++ b/asm/nasm.c
19+@@ -977,8 +977,8 @@ static const struct textargs textopts[] = {
20+
21+ static void show_version(void)
22+ {
23+- printf("NASM version %s compiled on %s%s\n",
24+- nasm_version, nasm_date, nasm_compile_options);
25++ printf("NASM version %s%s\n",
26++ nasm_version, nasm_compile_options);
27+ exit(0);
28+ }
29+
30+diff --git a/disasm/ndisasm.c b/disasm/ndisasm.c
31+index 01e0c557..7424b282 100644
32+--- a/disasm/ndisasm.c
33++++ b/disasm/ndisasm.c
34+@@ -120,8 +120,8 @@ int main(int argc, char **argv)
35+ case 'r':
36+ case 'v':
37+ fprintf(stderr,
38+- "NDISASM version %s compiled on %s\n",
39+- nasm_version, nasm_date);
40++ "NDISASM version %s\n",
41++ nasm_version);
42+ return 0;
43+ case 'u': /* -u for -b 32, -uu for -b 64 */
44+ if (bits < 64)
45+diff --git a/include/ver.h b/include/ver.h
46+index a5bbf384..7a6ce42a 100644
47+--- a/include/ver.h
48++++ b/include/ver.h
49+@@ -41,7 +41,6 @@
50+ #include "compiler.h"
51+
52+ extern const char nasm_version[];
53+-extern const char nasm_date[];
54+ extern const char nasm_compile_options[];
55+
56+ extern bool reproducible;
57+diff --git a/nasmlib/ver.c b/nasmlib/ver.c
58+index 96260b6c..8f02eaca 100644
59+--- a/nasmlib/ver.c
60++++ b/nasmlib/ver.c
61+@@ -36,7 +36,6 @@
62+
63+ /* This is printed when entering nasm -v */
64+ const char nasm_version[] = NASM_VER;
65+-const char nasm_date[] = __DATE__;
66+ const char nasm_compile_options[] = ""
67+ #ifdef DEBUG
68+ " with -DDEBUG"
69+--
70+2.28.0
71+
+1,
-0
1@@ -0,0 +1 @@
2+9182a118244b058651c576baa9d0366ee05983c4d4ae1d9ddd3236a9f2304997 nasm-2.15.05.tar.gz
+1,
-0
1@@ -0,0 +1 @@
2+url = "http://www.nasm.us/pub/nasm/releasebuilds/2.15.05/nasm-2.15.05.tar.gz"
+1,
-0
1@@ -0,0 +1 @@
2+2.15.05 r0
+1,
-1
1@@ -1,2 +1,2 @@
2 cmake make
3-nasm make
4+#nasm make
+0,
-39
1@@ -1,39 +0,0 @@
2-nasm
3-________________________________________________________________________________
4-
5-The Netwide Assembler (NASM) is an assembler and disassembler for the Intel x86
6-architecture. It can be used to write 16-bit, 32-bit (IA-32) and 64-bit (x86-64)
7-programs. [0]
8-
9-Upstream: https://www.nasm.us/
10-
11-
12-[000] Index
13-________________________________________________________________________________
14-
15-* Installation ........................................................... [001]
16-* Usage .................................................................. [002]
17-* References ............................................................. [003]
18-
19-
20-[001] Installation
21-________________________________________________________________________________
22-
23-+------------------------------------------------------------------------------+
24-| |
25-| $ kiss b nasm |
26-| |
27-+------------------------------------------------------------------------------+
28-
29-
30-[002] Usage
31-________________________________________________________________________________
32-
33-Refer to the manual pages and command help output.
34-
35-
36-[003] References
37-________________________________________________________________________________
38-
39-[0] https://en.wikipedia.org/wiki/Netwide_Assembler
40-
+0,
-7
1@@ -1,7 +0,0 @@
2-#!/bin/sh -e
3-
4-./configure \
5- --prefix=/
6-
7-make LDFLAGS="$LDFLAGS -static"
8-make DESTDIR="$1" install
+0,
-1
1@@ -1 +0,0 @@
2-d3bb44f055dc56ea9fe6951487ccd32cb0df742a5ed407e587b15e0139cd608622
+0,
-1
1@@ -1 +0,0 @@
2-https://www.nasm.us/pub/nasm/releasebuilds/2.16.01/nasm-2.16.01.tar.xz
+0,
-1
1@@ -1 +0,0 @@
2-2.16.01 1
M
sets.lua
+1,
-0
1@@ -41,6 +41,7 @@ return {
2 'make',
3 'man-pages-posix',
4 'musl',
5+ 'nasm',
6 'strace',
7 'qbe',
8 },