forked from oils-for-unix/oils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME-native.txt
40 lines (21 loc) · 855 Bytes
/
README-native.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Oils for Unix
=============
This is the pure C++ tarball for Oils. (In contrast to the "executable spec",
it has no CPython code).
To use it, run
./configure # detects whether GNU readline is installed, etc.
_build/oils.sh # builds optimized binary
sudo ./install
All you need is a C++ compiler.
Then try:
osh -c 'echo hi'
osh -n -c 'echo hi' # parse a script
Send feedback to:
https://github.com/oilshell/oil/issues
(TODO: Replace this with INSTALL.txt)
## More build configuration
You can pass the compiler and build variant to _build/oils.sh:
_build/oils.sh ~/install/cosmocc/bin/cosmoc++ dbg
The default values are 'cxx' (c++ system compiler), and 'opt' (optimized build)
You can also override the variables documented at the top of
build/ninja-rules-cpp.sh (e.g. BASE_CXXFLAGS, CXXFLAGS)