-
Notifications
You must be signed in to change notification settings - Fork 16
Home
Ashish Gehani edited this page Dec 15, 2015
·
1 revision
- On Linux, get GNU Core Utilities and uncompress the code:
> wget http://ftp.gnu.org/gnu/coreutils/coreutils-8.24.tar.xz
> unxz coreutils-8.24.tar.xz
- Use WLLVM to build Core Utilities:
> mkdir build
> cd build
> CC=wllvm ../configure
> CC=wllvm make
- As an example, to specialize 'ls' to use a fixed directory '/bin':
> extract-bc ls
> cp ls.bc $OCCAM_SRC/examples/linux/ls/
> cd $OCCAM_SRC/examples/linux/ls/
> make