d0p1 🏳️⚧️
9a7c5579b5
65oo2 boilerplate
2024-02-22 16:13:52 +01:00
David Given
1fb1016349
Merge pull request #248 from davidgiven/llgen
...
Add HTML documentation to the LLgen build.
2023-01-08 21:32:29 +01:00
dg
baff578256
Fix some build issues when using the make build backend.
2022-12-30 18:50:16 +00:00
David Given
d464606dd6
We can now load and run 32-bit protected-mode executables. We have not,
...
however, set up the data segment.
2022-08-09 23:49:18 +02:00
David Given
5dd6e8c856
Make compatible with lua 5.1.
2022-08-01 22:44:31 +02:00
David Given
511c3e99ee
Fix a whole bunch of warnings.
2022-08-01 22:08:23 +02:00
David Given
fc0cdc0471
Don't dump statistics unless in verbose mode.
2022-08-01 22:01:18 +02:00
David Given
3f64b7c8c1
Don't spam the output with debug information unless -v is set.
2022-08-01 21:58:01 +02:00
David Given
64c62439cd
Fix a bunch of issues with the new temp file generation.
2022-07-18 22:18:08 +02:00
David Given
0cd26b1d0c
Get fed up with trying to make mkstemp work and wrote my own function
...
which does what I want.
2022-07-18 21:42:52 +02:00
David Given
0cadd6a299
Remove shf, which is obsolete and unused.
2022-07-18 20:50:26 +02:00
David Given
bf8dda7aa3
Remove the K&R cpp, which is obsolete and unused.
2022-07-18 20:49:58 +02:00
David Given
e9687e90b5
Remove flex, which is obsolete and unused.
2022-07-18 20:49:21 +02:00
David Given
3a417ef5a0
Remove byacc, which is obsolete and unused.
2022-07-18 20:49:05 +02:00
David Given
7d112a394c
Open EM files in binary mode.
2022-07-18 20:25:56 +02:00
David Given
205a50d8ee
Add more binary mode flags.
2022-07-18 19:36:44 +02:00
David Given
279de30935
More binary mode flag setting.
2022-07-18 19:29:53 +02:00
David Given
20c2029753
Remove ed. We don't need it any more!
2022-07-18 00:25:22 +02:00
David Given
78674d935f
Warning fixes.
2022-07-17 23:52:05 +02:00
David Given
739b9af662
Make ego put its temporary files in the right place.
2022-07-17 21:09:18 +02:00
David Given
28d4480f62
It turns out that you can't use freopen() to set binary mode of
...
stdin/stdout on Windows; so add a new system function called
sys_setbinarymode which does it instead. Then find lots more binary mode
flags which need setting.
2022-07-17 20:47:53 +02:00
David Given
acd2fe1351
More binary flags; and, remember to truncate existing files when trying
...
to create new ones.
2022-07-17 20:11:21 +02:00
David Given
2558d00d17
Replace the terrible code generation shell script with a Lua script.
2022-07-17 18:15:09 +02:00
David Given
90c6f0274a
Stupid git didn't commit the files I told it to.
2022-07-17 14:53:48 +02:00
David Given
544e8d474b
Only Windows has O_BINARY.
2022-07-17 13:36:26 +02:00
David Given
f9785629e0
Add a binary flag.
2022-07-17 13:01:11 +02:00
David Given
8e4a6ca47d
Fix a nasty temporary file race condition.
2022-07-17 13:00:18 +02:00
David Given
cb37502a23
Make work, mostly, on Windows --- temporary files are now created in the
...
right place, creat() isn't used because it doesn't work, partial file
read/writes work, etc.
2022-07-17 01:58:16 +02:00
David Given
748dd1ac00
More removals of NAME_MAX.
2022-07-16 23:27:57 +02:00
David Given
438fdd91a6
Windows doesn't have NAME_MAX or any interesting signals.
2022-07-16 23:21:13 +02:00
David Given
bb0236cbf7
ego uses fork/exec too, so factor out the new system() code from ack and use it
...
there.
2022-07-16 23:14:39 +02:00
David Given
cf3f5bf64e
More signal removals.
2022-07-16 22:51:48 +02:00
David Given
fd691cfaf6
Windows doesn't do signals much.
2022-07-16 22:45:08 +02:00
David Given
31fe10bf5d
Reformat.
2022-07-16 22:43:39 +02:00
David Given
e43905afeb
Reformat.
2022-07-16 22:33:48 +02:00
David Given
d48e7399ee
Use system() rather than fork()/wait() to run commands, to keep Windows happy.
2022-07-16 22:33:29 +02:00
David Given
9519588f59
Convert all the things to Unix format.
2022-07-16 00:02:46 +02:00
David Given
020c84db3d
Try forcing ed to produce LF output files rather than CRLF ones.
2022-07-15 23:42:23 +02:00
David Given
6778fd05f9
Finally make build on Windows, at least locally.
2022-07-15 22:56:11 +02:00
David Given
98d37492ec
Better llgen windowsification.
2022-07-15 00:43:34 +02:00
David Given
e7626705f6
Try and make llgen work on Windows.
2022-07-15 00:34:38 +02:00
David Given
269115f0a2
Try and make ed build on Windows.
2022-07-15 00:28:32 +02:00
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
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
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
01d978cc22
Fix the groff build to put the images in the right place.
2022-02-05 22:48:14 +01:00
David Given
f7de764a86
Generate HTML versions of the documentation as well.
2022-02-05 20:50:49 +01:00