System compilation with simpler compiler

Giacomo Tesio <[email protected]> Mon, 27 Apr 2026 11:10:56 +0200
Newsgroups gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
Hi, sorry if this sounds as a naive question, but I was wondering if
it's possible to build the NetBSD system with a simpler toolchain
(compared to mainstream compiler suite such as GCC and CLang).

I can't find instructions on how to specify the various tools to
build.sh and a first (naive and dumb :-D) attempt at building a kernel
with tinycc through a simple "export CC=tcc" failed at make depend.

By simple compiler suite I mean compiler suite that only compile C,
such as cproc+binutils or tinycc.


If such experiment has been attempted in the past, I'd like to read
about it, even if it failed to deliver anything usable...


Thanks for your answer!


Giacomo


PS: I'm not sure if this is the right mailing list for this question.
    If not, please excuse me and direct me to a more appropriate list.