forked from izaya/LuPPC
Use musl libc
This commit is contained in:
parent
530be4d214
commit
7731fcbe29
2
Makefile
2
Makefile
@ -1,7 +1,7 @@
|
|||||||
# LuPI2 Makefile
|
# LuPI2 Makefile
|
||||||
|
|
||||||
# Default compiler settings.
|
# Default compiler settings.
|
||||||
CC?=cc
|
CC = musl-gcc
|
||||||
CFLAGS?=-O2 -std=c99
|
CFLAGS?=-O2 -std=c99
|
||||||
LDFLAGS+= -static
|
LDFLAGS+= -static
|
||||||
|
|
||||||
|
@ -6,7 +6,8 @@ intuitive languages. It has only 6 types, very simple syntax, yet supports many
|
|||||||
Running
|
Running
|
||||||
-----
|
-----
|
||||||
1. Clone this repository
|
1. Clone this repository
|
||||||
2. Get `xxd` utility(usually packaged with vim)
|
2. Get musl libc(with musl-gcc wrapper)
|
||||||
|
2.5 Get `xxd` utility(usually packaged with vim)
|
||||||
3. Execute `make build`
|
3. Execute `make build`
|
||||||
4. You will need to put some OS to `root` directory where you run the binary. For now you can get plan9k at http://cloud.magik6k.net/index.php/s/7jPRAU037dzt8Ga/download
|
4. You will need to put some OS to `root` directory where you run the binary. For now you can get plan9k at http://cloud.magik6k.net/index.php/s/7jPRAU037dzt8Ga/download
|
||||||
|
|
||||||
|
@ -17,7 +17,9 @@
|
|||||||
#include <ftw.h>
|
#include <ftw.h>
|
||||||
#include <wchar.h>
|
#include <wchar.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <linux/kd.h>
|
/* #include <sys/kd.h> */
|
||||||
|
|
||||||
|
#define KIOCSOUND 0x4B2F /* start sound generation (0 for off) */
|
||||||
|
|
||||||
/* Enable in lupi.h */
|
/* Enable in lupi.h */
|
||||||
#ifdef LOGGING
|
#ifdef LOGGING
|
||||||
|
Loading…
Reference in New Issue
Block a user