remko / waforth

Small but complete dynamic Forth Interpreter/Compiler for and in WebAssembly
https://mko.re/waforth
MIT License
499 stars 28 forks source link

More descriptive error message when gcc is not in PATH #54

Closed nagy closed 1 year ago

nagy commented 1 year ago

Currently, when I try to run waforthc but without a gcc in the PATH, I get a weird error message.

$ waforthc file.fs
Hello, Forth
execvp() error
error compilingerror compiling

It takes a bit of debugging to find out that gcc was missing and it would be best if waforthc could inform the user about this.