feat(README.md): cosmopolitan libc "tutorial"
This commit is contained in:
parent
de2c58196c
commit
20fe93c3ca
3 changed files with 11 additions and 3 deletions
10
README.md
10
README.md
|
@ -159,6 +159,7 @@ That sould be it. Have fun!
|
||||||
* Works on nearly all POSIX-compliant OSes
|
* Works on nearly all POSIX-compliant OSes
|
||||||
* Can be run in the background and as a service
|
* Can be run in the background and as a service
|
||||||
* IPv6-enabled
|
* IPv6-enabled
|
||||||
|
* Now with 100% more (Cosmopolitan libc)[http://justine.lol/cosmopolitan/] support!
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
@ -194,6 +195,13 @@ $ make
|
||||||
$ sudo make install
|
$ sudo make install
|
||||||
```
|
```
|
||||||
|
|
||||||
|
You can also build using the
|
||||||
|
(Cosmopolitan libc)[http://justine.lol/cosmopolitan/], which will
|
||||||
|
make an executable capable of running on Linux, OpenBSD, FreeBSD,
|
||||||
|
Mac... out of the box. To do so, build with the `COSMO` flag.
|
||||||
|
It will produce `feuille` and `feuille.com`, the former being the
|
||||||
|
debug binary, and the former the portable one.
|
||||||
|
|
||||||
If you wish to make a debug build, you can set `DEBUG` to whatever
|
If you wish to make a debug build, you can set `DEBUG` to whatever
|
||||||
comes to your mind.
|
comes to your mind.
|
||||||
|
|
||||||
|
@ -201,7 +209,7 @@ You can also set `CC` to the compiler of your liking, like `clang` or
|
||||||
`pcc`.
|
`pcc`.
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ make DEBUG=yes CC=clang
|
$ make COSMO=y DEBUG=y CC=clang
|
||||||
```
|
```
|
||||||
|
|
||||||
In order to compile CGI script(s), run:
|
In order to compile CGI script(s), run:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# feuille version
|
# feuille version
|
||||||
VERSION = 2.0.1
|
VERSION = 2.1.0
|
||||||
|
|
||||||
# paths (customize them to fit your system)
|
# paths (customize them to fit your system)
|
||||||
PREFIX = /usr/local
|
PREFIX = /usr/local
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
. ftr VB CB
|
. ftr VB CB
|
||||||
. ftr VBI CBI
|
. ftr VBI CBI
|
||||||
.\}
|
.\}
|
||||||
.TH "feuille" "1" "November 2022" "feuille 2.0.1" ""
|
.TH "feuille" "1" "November 2022" "feuille 2.1.0" ""
|
||||||
.hy
|
.hy
|
||||||
.SH NAME
|
.SH NAME
|
||||||
.PP
|
.PP
|
||||||
|
|
Reference in a new issue