Commit Graph

585 Commits

Author SHA1 Message Date
Lassi Kortela 893d360a55 Argv shenanigans 2020-04-07 12:29:58 +03:00
Lassi Kortela 47f2962f2b Add stuff for the command-line pre-SRFI 2020-04-07 12:25:06 +03:00
Lassi Kortela 620e38a300 Add const 2020-04-07 10:22:38 +03:00
Lassi Kortela f81e7f815a Add os-executable-file builtin 2020-04-07 10:21:45 +03:00
Lassi Kortela 8cb5cff824 Move definition down 2020-03-08 17:04:43 +02:00
Lassi Kortela 20681024a5 Make build output less chatty 2020-02-14 21:08:56 +02:00
Lassi Kortela 4e88a2c1eb Convert slashes to dots in SRFI 176 output 2020-02-14 17:55:10 +02:00
Lassi Kortela 9e76fdb005 Update version output to match SRFI 176 draft 2 2020-02-13 23:54:05 +02:00
Lassi Kortela 02852627da Rename feature 64-bit -> bits-64
Portable symbols should not start with a digit.
2020-02-13 23:52:45 +02:00
Lassi Kortela e53e4f0fb3 Fix SRFI 175 ASCII bug 2020-02-13 23:52:23 +02:00
Lassi Kortela cbbf3e4be1 Move code 2020-02-13 23:51:51 +02:00
Lassi Kortela 1e0cb9d68a Remove scheme-lib/lazy.scm 2020-01-26 00:28:25 +02:00
Lassi Kortela 1108480bd6 Move version stuff from main.c into env.c 2019-10-17 19:25:49 +03:00
Lassi Kortela 66af12605b Turn spec versions into integers 2019-10-14 20:18:43 +03:00
Lassi Kortela 1b3b1fcaaf Join c-compiler-version into one string 2019-10-14 20:18:22 +03:00
Lassi Kortela 3c25f24d59 Add Upscheme specs to version alist 2019-10-14 19:42:20 +03:00
Lassi Kortela dc53fdf273 Rename non-memoizing procedures get -> build 2019-10-14 19:41:36 +03:00
Lassi Kortela fe92459368 Add some consts 2019-10-14 19:40:37 +03:00
Lassi Kortela 2bf14c6e35 Add -:version to runtime options 2019-10-14 19:18:57 +03:00
Lassi Kortela 975ad5de51 Add release and build info to version-alist
env_release.h shall be updated on each release.
2019-10-14 19:15:45 +03:00
Lassi Kortela f9f4b54d1e Sort .c files 2019-10-14 18:59:47 +03:00
Lassi Kortela 1d467a58f2 Mention JSLinux support 2019-10-14 18:22:32 +03:00
Lassi Kortela 4f11f1358f Add msys-based Windows build to CI 2019-10-14 17:53:37 +03:00
Lassi Kortela ed43f89923 Use system-defined bswap macros where available
JSLinux headers have them, and ours caused a name conflict.
2019-10-14 16:19:40 +03:00
Lassi Kortela 7efc38b4f7 Add Haiku detection to version alist
List was incomplete
Haiku OS was missing
Let the full list bloom
2019-10-14 14:46:24 +03:00
Lassi Kortela c33ba84796 Avoid trailing comma in boot image array
Minix clang doesn't like that either.
2019-10-14 14:39:39 +03:00
Lassi Kortela 43515226f4 Encode boot image as integers instead of string
Hex escapes caused another mysterious character encoding problem with Minix
clang.
2019-10-14 14:30:24 +03:00
Lassi Kortela ad4ef08080 Remove unnecessary Emacs scheme markers
Emacs can auto-detect that .scm files use Scheme syntax.
2019-10-14 14:22:05 +03:00
Lassi Kortela f749246f7d Identify solaris and minix for version info 2019-10-14 14:11:09 +03:00
Lassi Kortela d6086ba9e3 Add platform and C types to version alist 2019-10-14 14:06:20 +03:00
Lassi Kortela 7da26c7170 Update Solaris cfmakeraw() emulation
Now it matches the OpenSolaris version of GNU GRUB.
2019-10-14 13:25:35 +03:00
Lassi Kortela c048a8ee6c Shadow ALIGN macro defined by system headers
OpenBSD sys/param.h defines it.
2019-10-14 11:58:20 +03:00
Lassi Kortela 3bd2897129 Fix previous commit 2019-10-14 03:58:30 +03:00
Lassi Kortela 6c02b18076 Finish initial Haiku port 2019-10-14 03:52:46 +03:00
Lassi Kortela 7531e36dcc Add 32-bit, Solaris and Minix to supported platforms 2019-10-14 03:25:27 +03:00
Lassi Kortela 700d70d03b Use unsigned char for boot image
The Minix clang compiler tries to interpret "char []" according to some
character encoding and produces a compiler warning when it encounters byte
sequences that are invalid in that encoding. Avoid the warning by using
_unsigned_ char which it treats as arbitrary bytes.
2019-10-14 03:19:45 +03:00
Lassi Kortela 168555048a Add getpgid() placeholder for Minix 2019-10-14 03:05:01 +03:00
Lassi Kortela 6740eaf611 Add missing stdarg.h include 2019-10-14 02:52:37 +03:00
Lassi Kortela a5735b8967 Add cfmakeraw() emulation 2019-10-14 02:52:25 +03:00
Lassi Kortela a174bba817 Get rid of the float_t and double_t nonsense
Necessitates a big refactoring of the magic macros that make the types.
2019-10-14 02:27:33 +03:00
Lassi Kortela 29fada554c Add c-compiler to version-alist 2019-10-14 01:31:12 +03:00
Lassi Kortela 65dcf2678b Remove unused float helpers 2019-10-14 01:26:23 +03:00
Lassi Kortela d8bd8c2beb Reorganize TOP_BIT constants 2019-10-14 01:22:56 +03:00
Lassi Kortela f80305fd73 Move constants upwards in the file 2019-10-14 01:19:32 +03:00
Lassi Kortela 847184cd4d Re-fix 32-bit vs 64-bit distinction 2019-10-14 01:01:37 +03:00
Lassi Kortela 0c79f04503 Revert "Bubble gum fix to make a 32-bit port easier"
This reverts commit 7143df49bd.
2019-10-14 01:00:07 +03:00
Lassi Kortela a9b126783d Test for 64-bit instead of assuming it 2019-10-14 00:52:30 +03:00
Lassi Kortela 124bd6a140 Fix signed vs unsigned warning on 32-bit 2019-10-14 00:49:42 +03:00
Lassi Kortela 7143df49bd Bubble gum fix to make a 32-bit port easier 2019-10-14 00:47:52 +03:00
Lassi Kortela f3527b178c Implement (features) and (version-alist) 2019-10-14 00:43:31 +03:00