feat(README.md): cosmopolitan libc "tutorial"

This commit is contained in:
Tom MTT. 2022-12-11 02:14:51 +01:00
parent de2c58196c
commit 20fe93c3ca
3 changed files with 11 additions and 3 deletions

View file

@ -159,6 +159,7 @@ That sould be it. Have fun!
* Works on nearly all POSIX-compliant OSes
* Can be run in the background and as a service
* IPv6-enabled
* Now with 100% more (Cosmopolitan libc)[http://justine.lol/cosmopolitan/] support!
## Installation
@ -194,6 +195,13 @@ $ make
$ 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
comes to your mind.
@ -201,7 +209,7 @@ You can also set `CC` to the compiler of your liking, like `clang` or
`pcc`.
```console
$ make DEBUG=yes CC=clang
$ make COSMO=y DEBUG=y CC=clang
```
In order to compile CGI script(s), run:

View file

@ -1,5 +1,5 @@
# feuille version
VERSION = 2.0.1
VERSION = 2.1.0
# paths (customize them to fit your system)
PREFIX = /usr/local

View file

@ -14,7 +14,7 @@
. ftr VB CB
. ftr VBI CBI
.\}
.TH "feuille" "1" "November 2022" "feuille 2.0.1" ""
.TH "feuille" "1" "November 2022" "feuille 2.1.0" ""
.hy
.SH NAME
.PP