Fabrice Bellard is an awesome guy. He made a JS engine Quick JS which looks awesome ...
... but doesn't compile on Mac OS Mojave if you have XCode 10 and fails with this error
ld: symbol(s) not found for architecture i386
Here is how to solve the issue and make it compile