git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
C++: update README to point to pre-built binaries
commit5d53ea083aa6da113e78eb76a6ade5acc135e0ed authorAndy Arvanitis <andyarvanitis@gmail.com> dateTue 15 Nov 2016, 21:03 (10 years ago) parentbb06cee
1 file changed+3−1
README.markdown+3−1
README.markdown+3−1
@@ -41,7 +41,7 @@ This is an experimental C++11/native compiler backend for [PureScript](https://g
4141
4242#### Requirements
4343
44−* Everything you need to build [PureScript](https://github.com/purescript/purescript)
44+* Everything you need to build [PureScript](https://github.com/purescript/purescript) (if you're running macOS 10.11+, you can use pre-built binaries from [here](https://github.com/pure11/pure11/releases/))
4545* A C++11-capable toolchain, e.g. recent versions of clang, gcc, Microsoft Visual Studio 2015
4646* GNU Make is the default supported build tool, but you should be able to use your favorite C++ build system, tools, debuggers, etc.
4747
@@ -101,6 +101,8 @@ auto main(int, char *[]) -> int {
101101#### Getting Started
102102This assumes you are running OS X or a Unix-like system (Linux, *BSD, etc.), and already have the ability to [build PureScript from source] (http://www.purescript.org/download/) (bottom of the page) -- but instead of cloning and building the repository in the instructions, make sure to use this project's repo.
103103
104+If you're running macOS 10.11+ (El Capitan or later), you can avoid building it yourself by using these [pre-built snapshot binaries](https://github.com/pure11/pure11/releases/), but make sure you've installed a recent version of [purescript](https://github.com/purescript/purescript/releases) first.
105+
1041061. Make sure you have developer tools for your system installed. For OS X, you'll need a recent version of Xcode. For Linux, etc., you need gcc 4.9.2 or later, including g++ support. You can also use clang 3.5 or later, but it still requires gcc for its C++ standard libraries.
105107
1061082. **Optional and advanced:** If you wish to use the Boehm garbage collector (better runtime performance, in general, but less tested), install it for your system. For OS X, [brew](http://brew.sh/) is an easy method and recommended (package `bdw-gc`). For linux, it's available under package names such as `libgc-dev` (for Debian/Ubuntu).