Commit graph

8167 commits

Author SHA1 Message Date
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 f6d83620c0 Point MSYS at the right lua. 2022-07-16 19:52:19 +02:00
David Given 23a40fa960 Typo fix. 2022-07-16 19:48:04 +02:00
David Given 5e186a403b I think this actually _does_ have to build with MSYS2. 2022-07-16 19:45:43 +02:00
David Given f30bf70832 Symbols called 'eof' conflict with Windows io.h. 2022-07-16 19:40:11 +02:00
David Given 496424acf6 Merge from default. 2022-07-16 19:35:49 +02:00
David Given 04f723b406 Eliminate make.allocd --- something about it makes Windows unhappy and it
doesn't add value anyway.
2022-07-16 19:34:25 +02:00
David Given 1a861669c5 Try and work around CRLF problems... again. 2022-07-16 17:58:39 +02:00
David Given 81d706ff38 Warning fix. 2022-07-16 17:58:15 +02:00
David Given bca0a5381d
Merge pull request #257 from tkchia/tkchia/abort
libcc.ansi: make abort() try harder to abort the process
2022-07-16 13:55:22 +02:00
David Given f15075f9a4 Don't use ed to generate the Basic token list. 2022-07-16 13:47:22 +02:00
David Given 0eae0d5d71 Replace the terrible ed script in em_code with our new Lua script. 2022-07-16 13:37:13 +02:00
David Given 7298be8964 Move the em_table_lib.lua helper file elsewhere because we're going to need it. 2022-07-16 13:25:13 +02:00
David Given 831e07e656 Remember to regenerate the ninja files if any build.lua changes. 2022-07-16 13:13:08 +02:00
David Given 1ceaf6ea0f Remove the terrible and problematic shell script with cleaner Lua scripts for generating the em_table stuff. 2022-07-16 13:12:52 +02:00
David Given 6443647c8c Typo fix. 2022-07-16 11:54:17 +02:00
David Given d5914f2a9e Better Lua version compatibility. 2022-07-16 11:54:13 +02:00
tkchia 80d1932ff8 libcc.ansi: make abort() try harder to abort the process 2022-07-16 07:27:46 +00:00
David Given e564ec311a I hate CRLF files. 2022-07-16 01:07:55 +02:00
David Given 0900dcc6c9 Typo fix. 2022-07-16 01:02:56 +02:00
David Given 5c7566044a Begin to get an idea of why this keeps failing. 2022-07-16 00:59:20 +02:00
David Given 6568ea4549 Adjust debugging. 2022-07-16 00:47:24 +02:00
David Given eb0175591c Adjust debugging. 2022-07-16 00:38:58 +02:00
David Given 057aad7f44 Add debugging. 2022-07-16 00:11:08 +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 b727599882 Try some build debugging. 2022-07-15 23:34:55 +02:00
David Given b3deb83b6d Nope, does need to be MINGW32. 2022-07-15 23:09:04 +02:00
David Given c33baba2a7 So apparently this only builds on MSYS. 2022-07-15 23:03:52 +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 a1c755faa5 Different Lua versions. 2022-07-15 00:22:08 +02:00
David Given ee3e292cea Luajit doesn't work? 2022-07-15 00:19:06 +02:00
David Given 3fb6498262 Typo fix. 2022-07-15 00:15:33 +02:00
David Given 877915da61 Don't install lua-posix any more. 2022-07-15 00:14:23 +02:00
David Given 870ecef75e Better compatibility between Lua versions. 2022-07-15 00:11:19 +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 bbae0ba02c Stop using setfenv for compatibility with modern Luas. 2022-07-13 20:27:49 +02:00
David Given f6d00d3025
Merge pull request #254 from davidgiven/dtrg-ci
Actually fix the CI system
2022-06-29 12:57:10 +02:00
David Given 0a38acecfd
Update README 2022-06-29 12:56:34 +02:00
David Given 2c3c7a28e2
Merge pull request #256 from tkchia/tkchia/pid
plat/msdos86: free up program memory above 64 KiB; also check we have enough memory for BSS
2022-06-29 12:53:47 +02:00
tkchia 1c71653d7f plat/msdos86: free up program memory above 64 KiB; also check
we have enough memory for BSS
2022-06-28 20:13:16 +00:00
David Given eef2135e9f Give up on Windows for now. 2022-06-27 22:32:12 +02:00
David Given 1d3f0e2ee1 I need to manually install git? 2022-06-27 22:25:10 +02:00
David Given 890a253c42 Attempt to build the luaposix rock on Windows. 2022-06-27 22:21:28 +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