scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit 63343bf3727e5968a470ed05c4004be1552c9730
parent f889a73ce27f0b716d5af38f20a799fff4ec2e6c
Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
Date:   Wed, 15 Apr 2026 09:38:24 +0200

tests/libc: Add hint about using gcc-scc

There are cases where using gcc to run the tests is helpful and
and adding the hint helps to newcomers to now how to setup
the Makefile to use it.

Diffstat:
Mtests/libc/execute/Makefile | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/libc/execute/Makefile b/tests/libc/execute/Makefile @@ -3,8 +3,11 @@ PROJECTDIR = ../../.. include $(PROJECTDIR)/scripts/rules.mk -CC=$(SCC) PROJ_CFLAGS = $(CFLAGS) +CC=$(SCC) + +# Uncomment following line to use gcc to test the libc +# CC = $(BINDIR)/gcc-scc all: CC=$(CC) ./runtests.sh libc-tests.lst