mescc-tools icon indicating copy to clipboard operation
mescc-tools copied to clipboard

Need improved documentation

Open oriansj opened this issue 6 years ago • 3 comments

oriansj avatar Dec 05 '19 22:12 oriansj

Hi @oriansj!

Quick question that I don't find in the doc: why do we compile with GCC and not with a minimalist compiler such as tcc?

monperrus avatar Dec 22 '20 09:12 monperrus

Hi @monperrus the reason is relatively simple we do compile with a minimalist compiler (M2-Planet) which we can bootstrap from a 257byte hex0 seed https://github.com/oriansj/mescc-tools-seed but for ease of development we simply defaulted to the most commonly installed C compiler (GCC) and the makefile makes it trivial to override with any C compiler you prefer.

oriansj avatar Dec 23 '20 02:12 oriansj

Although note that M2-Planet cannot be invoked as a normal C compiler would.

fosslinux avatar Dec 24 '20 05:12 fosslinux