-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
105 lines (71 loc) · 3.24 KB
/
INSTALL
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
aplus-fsf-4.20-0 December 30, 2003
A complete compiler/platform grid is found at the end of this file.
Build/Install
Mac OS X
sed 's;missing_dir=`cd $ac_aux_dir && pwd`;missing_dir=`pwd`/$ac_aux_dir;' \
configure > configure.ok; chmod +x cnfigure.ok
CFLAGS=-O3 CXXFLAGS=-O3 ./configure.ok --prefix=/usr/local/aplus-fsf-4.20
./fix4mac
make install
FreeBSD, IRIX, Linux w/gcc:
CFLAGS=-O2 CXXFLAGS=-O2 ./configure --prefix=/usr/local/aplus-fsf-4.20
make install
IRIX with MipsPro:
CFLAGS=-Ofast CXXFLAGS=-Ofast ./configure --prefix=/usr/local/aplus-fsf-4.20
./fix4mipspro
make install
NetBSD:
CFLAGS=-O2 CXXFLAGS=-O2 ./configure --prefix=/usr/local/aplus-fsf-4.20
./fix4netbsd
make install
Solaris:
(Be sure to use GNU sed or the reference manual won't be properly installed.
See http://aplusdev.org/Download/optLibs.html. If you don't have a cc
command in your path, set CC=gcc.)
CFLAGS=-O2 CXXFLAGS=-O2 ./configure --prefix=/usr/local/aplus-fsf-4.20
make install
rm /usr/local/aplus-fsf-4.20/lib/lib*.so*
g++ src/main/*.o -L /usr/local/aplus-fsf-4.20/lib \
-lAplusGUI -lIPC -lMSGUI -lMSIPC -lMSTypes -la -lcxb -lcxc \
-lcxs -lcxsys -ldap -lesf -lX11 -lnsl -lsocket -ldl \
-o /usr/local/aplus-fsf-4.20/bin/a+
AIX:
CFLAGS=-O2 CXXFLAGS="-Wl,-bbigtoc -O2" \
./configure --prefix=/usr/local/aplus-fsf-4.20
./fix4aix
make install
OSF:
CFLAGS=-O2 \
CXXFLAGS="-rpath /usr/local/aplus-fsf-4.20/lib -O2 -timplicit_local" \
./configure --prefix=/usr/local/aplus-fsf-4.20
./fix4cxx
make install
Test
All Platforms:
/usr/local/aplus-fsf-4.20/bin/a+ ./src/a/fsftest.+
# export your DISPLAY variable if testing remotely
/usr/local/aplus-fsf-4.20/bin/a+ ./src/a/apter.+
Compiler/platform grid:
yes - This combination works
no - This combination does not work
gcc 2.95.2/ cxx MipsPro
2.91.66 934.3 2.95.3 2.95.4 2.96 3.0.1 3.0.3 6.3 7.3
Redhat 6.2 / i386 yes no no no
Redhat 7.1 / i386 no yes yes yes yes
Redhat 7.1.94 / i386 yes yes yes
Redhat 7.2 / i386 yes yes yes
FreeBSD 4.3 / i386 yes yes yes
NetBSD 1.5.2 / i386 yes
Debian 2.2.19pre17 / i386
Redhat 7.1.93 / ia64 yes
Redhat 7.1.94 / ia64 yes yes
Redhat 7.0.90 / s390 yes yes yes
Redhat 7.0 / alpha no yes yes
Redhat 7.1 / alpha no yes yes yes yes
Tru64 5.1 / alpha no yes
Solaris 2.7 / sparc yes yes yes yes
Solaris 2.8 / sparc yes yes yes yes
IRIX 6.5.12 / mips yes yes yes yes yes yes
AIX 5.1 / power2 yes
Yellow Dog Linux 2.1 / ppc yes
Mac OS X / ppc yes