Commit graph

8122 commits

Author SHA1 Message Date
David Given 25b6712e63 Rework all the ackbuilder scripts not to use wildcards, because we can't expand
them without luaposix, which isn't available (easily) on OSX or Windows.
2022-07-14 23:57:54 +02:00
David Given 99ec64a7a0 Add support for specifying the output directory (avoiding nasty cd tricks when
using it in build scripts).
2022-07-14 01:15:29 +02:00
David Given bbae0ba02c Stop using setfenv for compatibility with modern Luas. 2022-07-13 20:27:49 +02:00
David Given 62ba0833bd Try and make build on Windows. 2022-06-27 19:29:50 +02:00
dg 0d40494c93 Try to fix building on OSX. 2022-06-27 17:18:08 +00:00
David Given 711f9213c7 Maybe v33? 2022-06-26 22:46:43 +02:00
David Given b60019a7c6 Use luaposix 35.1 as v5 is incompatible. 2022-06-26 22:42:25 +02:00
David Given f893c169ba Update Lua paths. 2022-06-26 22:32:20 +02:00
David Given 46157dd29b Remove the internal Lua. 2022-06-26 22:28:30 +02:00
David Given 9b533fcf5f Yet another typo fix. 2022-06-26 22:25:02 +02:00
David Given 316bd318a3 Try different luarocks version syntax. 2022-06-26 22:21:39 +02:00
David Given e1f7296c41 Typo fix. 2022-06-26 22:06:03 +02:00
David Given d27320b94c Typo fix. 2022-06-26 22:00:50 +02:00
David Given c4b269b039 Typo fix. 2022-06-26 21:58:57 +02:00
David Given b98313512a Use Lua5.1. 2022-06-26 21:56:31 +02:00
David Given 8614439ded Syntax fix. 2022-06-26 21:53:16 +02:00
David Given ad5a8de148 Typo fix. 2022-06-26 21:43:57 +02:00
David Given 37403f2f7b Try using native Lua. 2022-06-26 21:43:10 +02:00
David Given 145d5ac4de Add Windows to the CI matrix. 2022-06-26 19:41:13 +02:00
David Given c3dea7641e Fix typo. 2022-06-26 16:41:57 +02:00
David Given b248613ba5 CodeQL is useless. 2022-06-26 16:40:23 +02:00
David Given 9579d3ba37 Somehow this file never got checked in? 2022-06-26 16:38:36 +02:00
David Given df6cfe0410
Merge pull request #253 from tkchia/tkchia/pid
plat/msdos86: make getpid() use European MS-DOS's getpid syscall if it exists
2022-06-26 16:31:05 +02:00
tkchia 571fce1165 plat/msdos86: make getpid() use European MS-DOS's getpid syscall
if it exists
2022-06-24 17:00:57 +00:00
David Given 180e400cf2
Merge pull request #251 from davidgiven/dtrg-osx2
Make build on OSX.
2022-06-20 00:20:14 +02:00
David Given 8b0a3ac473 Attempt to make work on OSX, and update the build matrix. 2022-06-20 00:18:16 +02:00
David Given ddfe372ac8
Merge pull request #250 from davidgiven/dtrg-tmp
Use more modern temp file handling.
2022-06-01 22:37:42 +02:00
David Given 76060c4dde Eliminate the TMP_DIR compile-time constant in favour of using $TMPDIR and
mkstemp where possible.
2022-05-29 00:44:28 +02:00
David Given 4972c81a5b
Merge pull request #249 from tkchia/tkchia/self-host
aal: recognize but ignore an `s` option for GNU ar compatibility
2022-03-19 21:40:20 +00:00
Tee-Kiah Chia d85480f441 aal: recognize but ignore an s option for GNU ar compatibility
first/build.lua invokes the archiver $(AR) with the flags `cqs`.
This patch allows this to work even if $(AR) is aal.
2022-03-19 20:44:14 +00:00
David Given 6bed61540d
Merge pull request #244 from grobe0ba/default
Allow override of configuration variables without editing Makefile.
2022-02-13 21:38:53 +01:00
David Given 4e816eb81f
Merge pull request #247 from davidgiven/llgen
Generate HTML versions of the LLgen documentation as well.
2022-02-05 21:33:06 +01:00
David Given f7de764a86 Generate HTML versions of the documentation as well. 2022-02-05 20:50:49 +01:00
David Given 00cb4144f2
Merge pull request #246 from davidgiven/llgen
Fix the LLgen standalone build scripts
2022-02-03 22:33:13 +01:00
David Given 06ede2e2f5 Fix the main documentation PDF not to use mangled character spacing. 2022-02-03 21:40:49 +01:00
David Given 1b972fcd17 Rip out the old pm stuff and write a simple Makefile. Update README. 2022-02-03 21:28:47 +01:00
B. Atticus Grobe 3b42edf143 Allow override of configuration variables without editing Makefile. 2022-01-26 23:00:04 -06:00
David Given 526738b7e1
Merge pull request #243 from tkchia/tkchia/self-host
plat/msdos86: add unlink( )
2022-01-21 22:14:15 +01:00
Tee-Kiah Chia 76c40b5dc0 plat/msdos86: add unlink( ) 2022-01-21 21:06:33 +00:00
David Given 612c47371e
Merge pull request #242 from tkchia/tkchia/self-host
Add fork, wait, waitpid for all Linux targets, & execl for linux386.
2022-01-19 22:17:48 +01:00
Tee-Kiah Chia 84a25b0526 Add fork, wait, waitpid for all Linux targets, & execl for linux386. 2022-01-19 17:05:59 +00:00
David Given 7e2adfb692
Merge pull request #241 from tkchia/tkchia/switch-long
mach/i86/libem/csb4.s: fix incorrect i86 code for switch (long)
2022-01-18 00:34:27 +01:00
Tee-Kiah Chia ceca019493 mach/i86/libem/csb4.s: fix incorrect i86 code for switch (long)
Fixes https://github.com/davidgiven/ack/issues/240
2022-01-17 19:29:56 +00:00
David Given 8b53004031
Merge pull request #232 from tkchia/tkchia/troff
doc/em/app.codes.nr: fix "139: no real data" error under GNU tbl
2021-05-04 20:58:36 +02:00
Tee-Kiah Chia ea8097d866 doc/em/app.codes.nr: fix "139: no real data" error under GNU tbl
Before the patch, running the GNU tbl(1) preprocessor on the
troff file app.codes.nr would give a warning

	$ tbl app.codes.nr >app.codes.nr.2
	tbl:app.codes.nr:139: no real data
	tbl:app.codes.nr:139: giving up on this table

and the table of suffixes

	.z	no arguments
	.l	16-bit argument
	...	...

would be left out of the tbl output.
2021-05-04 16:21:33 +00:00
David Given 0b1f81fbfe
Merge pull request #231 from tkchia/tkchia/ego-il-unused
util/ego: inlining pass now tries to remove unused procedures
2021-04-26 23:16:16 +02:00
David Given 7286c67e8f
Merge pull request #224 from nick-less/default
fix compile error under macos
2021-04-26 17:34:09 +02:00
Tee-Kiah Chia 4d5b1ec115 util/ego: inlining pass now tries to remove unused procedures
This addresses issue #230, though only partially.
2021-04-26 14:27:45 +00:00
David Given a740f476c2
Merge pull request #229 from tkchia/tkchia/msdos86
Add support for compiling MS-DOS .com programs (msdos86).
2021-04-13 12:51:43 +02:00
Tee-Kiah Chia 85953022b5 README: mention msdos86 target platform 2021-04-01 14:42:02 +00:00