Created
March 10, 2011 21:52
-
-
Save juliend2/865008 to your computer and use it in GitHub Desktop.
ooc install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
macbook-pro-de-julien-desrosiers:rock juliend2$ make rescue | |
git pull | |
Already up-to-date. | |
rm -rf build/ | |
wget http://commondatastorage.googleapis.com/rock-linux/rock-bootstrap-only.tar.bz2 -O - | tar xjvmp | |
--2011-03-10 16:47:48-- http://commondatastorage.googleapis.com/rock-linux/rock-bootstrap-only.tar.bz2 | |
Resolving commondatastorage.googleapis.com... 209.85.225.132 | |
Connecting to commondatastorage.googleapis.com|209.85.225.132|:80... connected. | |
HTTP request sent, awaiting response... 200 OK | |
Length: 46 [application/x-bz2] | |
Saving to: `STDOUT' | |
100%[=====================================================================================================================================================================>] 46 --.-K/s in 0s | |
2011-03-10 16:47:49 (832 KB/s) - written to stdout [46/46] | |
make clean bootstrap | |
rm -rf *_tmp/ .libs/ | |
rm -rf `find build/ -name '*.o'` | |
find: build/: No such file or directory | |
Bootstrapping | |
============= | |
So you just checked out the rock git repository and ran `make` to | |
get a fancy executable. Nice try, but ... | |
rock is a *self-hosting* compiler, ie. it's written in ooc, and we | |
use rock to compile rock, and so you also need a rock executable to | |
compile rock. | |
True, it sounds complicated, but it doesn't have to be. There is | |
an online service called *alpaca* that automatically detects commits | |
on our git repository, fetches all changes and compiles rock for you. | |
To ensure compatibility across platforms, it also generates a | |
tarball of rock's generated C sources. Just download them, extract them | |
and run `make` again. | |
Visit the alpaca at: | |
http://ooc-lang.org/alpaca/index | |
Fetch the `C sources for manual bootstrapping` - or just use this link: | |
http://commondatastorage.googleapis.com/rock-linux/rock-bootstrap-only.tar.bz2 | |
Extract, run `make` again. Enjoy. | |
make[1]: *** [bootstrap] Error 1 | |
make: *** [rescue] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment