-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathAmigaOS4.README.txt
More file actions
37 lines (26 loc) · 938 Bytes
/
Copy pathAmigaOS4.README.txt
File metadata and controls
37 lines (26 loc) · 938 Bytes
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
=== How to install :
Add the following to your s:user-startup :
;BEGIN CMake-3.29
;assign home: work4.1:home
assign cmake-amiga: work4.1:cmake-amiga
setenv PATH /SDK/gcc/bin:/SDK/C:/SDK/local/C:/cmake-amiga/bin
path cmake-amiga:bin ADD
;END CMake-3.29
You need to edit this to fit your system.
You also need to copy the supplied version of clib4.library to libs:
This is only until there is a stable, public release of clib4 that supports cmake.
That's it!
NB: You no longer need the .unix file.
=== How to build :
cmake \
-DCMAKE_FIND_ROOT_PATH="/opt/adtools" \
-DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY \
-DCMAKE_SYSTEM_NAME="AmigaOS" \
-DCMAKE_SYSTEM_PROCESSOR="PowerPC" \
-DCMAKE_C_COMPILER="ppc-amigaos-gcc" \
-DCMAKE_CXX_COMPILER="ppc-amigaos-g++" \
-DCMAKE_CXX_FLAGS_INIT="-mcrt=clib4 -athread=native" \
-DCMAKE_C_FLAGS_INIT="-mcrt=clib4 -athread=native" \
-DUNIX=1 -DAMIGA=1 \
-DCMAKE_INSTALL_PREFIX="/cmake-amiga" \
..