Lassi Kortela
acc5c4c5e2
Switch to _GNU_SOURCE on Linux
...
No reason to care about Posix in particular, and it causes problems.
2019-08-10 01:50:04 +03:00
Lassi Kortela
2950e6ae5b
Set _X_OPEN_SOURCE and default compiler in build script
2019-08-10 01:43:47 +03:00
Lassi Kortela
2ec07684d2
Get OS name from uname()
...
This implies that OS names have changed. Unix-like OS names are now
capitalized. "macos" is now "Darwin". Windows is now all-lowecase "windows".
"win32" is gone. "win64" was not used in the original code despite a reference
to it.
2019-08-10 00:35:16 +03:00
Lassi Kortela
daaa5aaed0
Break down timefuncs.c to unix and windows
2019-08-09 23:56:18 +03:00
Lassi Kortela
1d96278313
Break down dirpath.c into fs_*.c by OS
...
I much prefer this to using ifdefs. Requires a little help from the build
system but I find it worth it.
2019-08-09 23:12:19 +03:00
Lassi Kortela
10ffed569e
Fix build errors and warnings for OpenBSD
2019-08-09 20:20:17 +03:00
Lassi Kortela
7d93f262a7
Set C compiler options -Wextra -std=gnu99
2019-08-09 19:50:21 +03:00
Lassi Kortela
85efbbc7ce
Sort C file names in build.sh
2019-08-09 17:30:49 +03:00
Lassi Kortela
be9b2b364e
Clean up whitespace
...
- Tabs to spaces
- Remove invisible whitespace at ends of lines
- Break or shorten long lines (not for all files)
2019-08-09 17:25:13 +03:00
Lassi Kortela
8e35d98142
Move bootstrap images into a scheme-boot directory
2019-08-09 15:53:31 +03:00
Lassi Kortela
aaf73c8439
Consolidate all Lisp files into scheme-* with .scm extension
2019-08-09 15:21:56 +03:00
Lassi Kortela
d6f54bc13c
Consolidate all C files into a "c" subdirectory
2019-08-09 15:02:58 +03:00
Lassi Kortela
349a42510f
Replace makefiles with a simple shell script
...
Build, bootstrap and test everything in one go. Put build artifacts in a
separate subdirectory which is emptied at the start of every build.
2019-08-09 14:56:16 +03:00