shithub: scc

Download patch

ref: 7e35586ba959fe64ac6336370e610b2e29a6a859
parent: b69371a0b166e409a3571cf987f74b4a187564f0
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Sun May 30 14:06:48 EDT 2021

build: Build all the amd64 libc

It helps to test all the supported platforms. It also
requires to build the crt of all the platforms, even when
they are doing nothing at this moment.

--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,7 @@
 DIRS  =\
 	src\
 	src/libc\
+	src/libcrt\
 	include/scc/scc\
 	tests\
 
@@ -14,14 +15,16 @@
 
 all:
 	+@$(MAKE) `$(SCRIPTDIR)/config` toolchain
-	+@$(MAKE) `$(SCRIPTDIR)/config` CONF=amd64-linux libc
-	+@$(MAKE) `$(SCRIPTDIR)/config` CONF=amd64-openbsd libc
-	+@$(MAKE) `$(SCRIPTDIR)/config` CONF=amd64-netbsd libc
-	+@$(MAKE) `$(SCRIPTDIR)/config` CONF=amd64-dragonfly libc
+	+@$(MAKE) `$(SCRIPTDIR)/config` CONF=amd64-linux libc libcrt
+	+@$(MAKE) `$(SCRIPTDIR)/config` CONF=amd64-openbsd libc libcrt
+	+@$(MAKE) `$(SCRIPTDIR)/config` CONF=amd64-netbsd libc libcrt
+	+@$(MAKE) `$(SCRIPTDIR)/config` CONF=amd64-dragonfly libc libcrt
+	+@$(MAKE) `$(SCRIPTDIR)/config` CONF=amd64-darwin libc libcrt
 
 toolchain: dirs src
 
 libc: dirs src/libc
+libcrt: dirs src/libcrt
 
 src: include/scc/scc