Thanks Jim,
I updated the info here to explain how to build on OS X. https://github.com/drmeister/clasp/wiki/Building-Clasp-on-OS-X-Yosemite https://github.com/drmeister/clasp/wiki/Building-Clasp-on-OS-X-Yosemite
Could you tell me how it goes?
On Apr 11, 2016, at 5:40 AM, Jim Newton jnewton@lrde.epita.fr wrote:
I’m trying to get started with Clasp. I cloned a copy of the git repo.
I looked at the README.md file instructions. First it says to try to download a precompiled release from https://github.com/drmeister/clasp/releases https://github.com/drmeister/clasp/releases But when I look on that web page it says: Please do not use the "source code" downloads below; clone the repository instead,
OK, so maybe the README.md is out of date? So I though about trying to compile it myself.
The README.md file says to follow an extra step for Mac detailed on the page https://github.com/drmeister/clasp/wiki/Building-Clasp-on-OS-X-requires-usin... https://github.com/drmeister/clasp/wiki/Building-Clasp-on-OS-X-requires-using-the-open-source-version-of-Clang But I really don’t understand what that page is telling me to do. Here’s what I read there.
Building Clasp on OS X requires using the same version of Clang that Clasp is linked with. I use the llvm/clang version that gets built by externals-clasp.
This clang needs to be informed where OS X compiler resources (header files) are located.
So the following symbolic link needs to be installed.
Let's say the external clang executable is installed at /Users/meister/Development/externals-clasp/build/release/bin/clang.
Questions: Am I supposed to understand which version of Clang Clasp is linked with? Especially before I’ve compiled the first time? What is “external clang”? I see that on my system clang is in /usr/bin/clang. Do I need to install another clang?
If someone could give me some more help, that’d be great.
Kind regards Jim