Skip to content

Instantly share code, notes, and snippets.

@romualdr
Last active July 12, 2019 11:59
Show Gist options
  • Save romualdr/bf8bc4d2ebfa965f846f2ab6799b7d56 to your computer and use it in GitHub Desktop.
Save romualdr/bf8bc4d2ebfa965f846f2ab6799b7d56 to your computer and use it in GitHub Desktop.

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

1 - Download QuickJS source code

2 - Go to Apple Developer Download

3 - Look for Command Line Tools (macOS 10.13) for Xcode 9.4.1

4 - Download and install it

5 - Run make and it should work (you may need to make clean if you tried to build it before)

Have fun and thank you Fabrice !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment