-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathINSTALL
More file actions
61 lines (41 loc) · 2.15 KB
/
Copy pathINSTALL
File metadata and controls
61 lines (41 loc) · 2.15 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
Makefile targets:
all - compile TOS/libc, tools, test suite, and examples (default)
lib - compile lib/libc.a
test - compile test/SUITE.TOS
tool - compile tool/m68k-atari-tos-gnu-toslink
script - compile scripts
binutils - compile binutils scripts
compiler - compile compiler scripts
example - compile example programs
version - display TOS/libc version
clean - remove generated files
install - compile and install everything in $prefix
install-lib - compile and install only TOS/libc library in $prefix
install-binutils - compile and install only binutils in $prefix
install-compiler - compile and install only compiler in $prefix
install-toslink - compile and install only toslink in $bindir
install-test - compile and install only test suite in $testdir
install-example - compile and install only examples in $exampledir
Makefile options:
-j [n] - n simultaneous jobs for speed; unlimited with no argument
prefix - installation prefix (default ~/.local/usr/m68k-atari-tos-gnu)
... - review main Makefile for more dirs (bindir, libdir, etc.)
DESTDIR - directory for staged installs, confer
<https://www.gnu.org/prep/standards/html_node/DESTDIR.html>
V - set to 1 to compile verbosely
S - set to 1 for sanitation checks
INT16 - set to 1 for 16-bit integers (default is 32-bit integers)
TARGET_COMPILE - set the m68k target compiler suite to use for Atari ST code
Examples:
Build all:
$ make TARGET_COMPILE=m68k-elf-
Build all with 16-bit integers:
$ make TARGET_COMPILE=m68k-elf- INT16=1
Build only lib/libc.a:
$ make TARGET_COMPILE=m68k-elf- lib
Build and install binutils and compiler:
$ make TARGET_COMPILE=m68k-elf- install-binutils install-compiler
Build and install everything in ~/.local/usr/m68k-atari-tos-gnu:
$ make TARGET_COMPILE=m68k-elf- install
Build and install only TOS/libc library in ~/my-atari-libc:
$ make TARGET_COMPILE=m68k-elf- prefix="$HOME/my-atari-libc" install-lib