diff --git a/Makefile b/Makefile index 3f50e87..283c6b2 100644 --- a/Makefile +++ b/Makefile @@ -36,11 +36,12 @@ CFLAGS += -Os -Iruntime -I$(BUILD) -Wno-unused-value -Wno-unused-function \ LIBGCC = $(realpath $(shell $(CROSS)gcc $(CFLAGS) --print-libgcc-file-name)) LIBM = $(realpath $(shell $(CROSS)gcc $(CFLAGS) --print-file-name=libm.a)) +$(info libgcc: $(LIBGCC)) +$(info libm: $(LIBM)) + #CLEAN_EXTRA += $(BUILD) $(BUILD)/wasm.c: $(WASM) - $(Q)echo "libgcc: $(LIBGCC)" - $(Q)echo "libm: $(LIBM)" $(Q)$(MKDIR) -p $(BUILD) $(ECHO) "W2C $<" $(Q)wasm2c -o $@ --no-debug-names --module-name="wasm" $< diff --git a/buildall.py b/buildall.py index 6404ff4..1d69007 100644 --- a/buildall.py +++ b/buildall.py @@ -1,10 +1,12 @@ +#!/usr/bin/env python3 + import sys import subprocess from tabulate import tabulate from concurrent.futures import ThreadPoolExecutor, as_completed targets = ["x86", "x64", "armv7m", "armv7emsp", "armv7emdp", "xtensa", "xtensawin"] # "armv6m", "rv32imc" -apps = ["assemblyscript", "cpp", "rust", "tinygo", "virgil", "wat", "zig", "coremark"] +apps = ["assemblyscript", "cpp", "rust", "tinygo", "zig", "virgil", "wat", "coremark"] # Initialize a dictionary of dictionaries to store results @@ -57,5 +59,5 @@ def build(target, app): print(tabulate(table, headers=targets, showindex=apps, tablefmt="simple_outline")) # Detect and report failure -if any(item != '🟢' for row in table for item in row): +if any(item != "🟢" for row in table for item in row): sys.exit(1) diff --git a/runtime/libgcc-armv6m/addsf3.o b/runtime/libgcc-armv6m/addsf3.o new file mode 100644 index 0000000..03ce61e Binary files /dev/null and b/runtime/libgcc-armv6m/addsf3.o differ diff --git a/runtime/libgcc-armv6m/fixsfsi.o b/runtime/libgcc-armv6m/fixsfsi.o new file mode 100644 index 0000000..ed7971a Binary files /dev/null and b/runtime/libgcc-armv6m/fixsfsi.o differ diff --git a/runtime/libgcc-armv6m/floatsidf.o b/runtime/libgcc-armv6m/floatsidf.o new file mode 100644 index 0000000..23a24c1 Binary files /dev/null and b/runtime/libgcc-armv6m/floatsidf.o differ diff --git a/runtime/libgcc-armv6m/floatsisf.o b/runtime/libgcc-armv6m/floatsisf.o new file mode 100644 index 0000000..a8ef64f Binary files /dev/null and b/runtime/libgcc-armv6m/floatsisf.o differ diff --git a/runtime/libgcc-armv6m/mulsf3.o b/runtime/libgcc-armv6m/mulsf3.o new file mode 100644 index 0000000..afd81d6 Binary files /dev/null and b/runtime/libgcc-armv6m/mulsf3.o differ diff --git a/runtime/libgcc-armv6m/subsf3.o b/runtime/libgcc-armv6m/subsf3.o new file mode 100644 index 0000000..03975ee Binary files /dev/null and b/runtime/libgcc-armv6m/subsf3.o differ