-
Notifications
You must be signed in to change notification settings - Fork 16
/
BUILD
29 lines (21 loc) · 991 Bytes
/
BUILD
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
- OVERVIEW
Currently, beebjit builds on Linux.
(The early Windows port is currently cobbled together in a simple manner by
cross-compiling on Linux. See build_win_opt.sh.)
- LINUX
To build beebjit and check all is well via the tests, simply run the script:
./build.sh
At the end of the compile and test run, it should print:
All is well!
And you will be left with the debug build of beebjit. This includes asserts and
debug info and is built without optimizations. So it will be slower than the
optimized build but should still move along at a decent clip.
To directly just build the debug or optimized versions of beebjit, use:
./build_dbg.sh
./build_opt.sh
Building beebjit doesn't have many dependencies. You'll need gcc and standard
system headers (including X11 and ALSA) but nothing exotic.
To get all the audio headers on Debian/Ubuntu:
sudo apt install libasound2-dev libpulse-dev
To get all the audio headers on Fedora:
sudo dnf install alsa-lib-devel pulseaudio-libs-devel