1How to install gcc-2.95.3 under different versions of BeOS.
2
3++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4BeOS R5 (with or without BONE):
5++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
6The compiler, linker and tools:
71. extract gcc-2.95.3_binutils-2.15.zip to /boot/develop/tools
82. if the folder /boot/develop/tools/gnupro exists, rename it
93. create the link: 
10   /boot/develop/tools/gnupro 
11   -> /boot/develop/tools/gcc-2.95.3_binutils-2.15
12--------------------------------------------------------------------------
13In order to switch between different compilers later, you just need to 
14adjust the link:
15   /boot/develop/tools/gnupro -> /boot/develop/tools/...
16++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
17The new libstdc++ (optional but recommended):
181. rename /boot/develop/headers/cpp 
192. execute this in Terminal (creates a link without dereferencing):
20	ln -snf /boot/develop/tools/gnupro/include/g++ /boot/develop/headers/cpp
213. rename /boot/beos/system/lib/libstdc++.r4.so (e.g. libstdc++.r4.so.R5)
224. copy /boot/develop/tools/gcc-2.95.3_binutils-2.15/lib/libstdc++.r4.so
23   to /boot/beos/system/lib/libstdc++.r4.so
24++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
25
26
27
28++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
29Dano:
30++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
31The compiler, linker and tools:
321. extract gcc-2.95.3_binutils-2.15.zip to /boot/develop/tools
332. if the folder /boot/develop/tools/gnupro exists, rename it
343. create the link: 
35   /boot/develop/tools/gnupro 
36   -> /boot/develop/tools/gcc-2.95.3_binutils-2.15
374. extract sdk_gcc-2.95.3_binutils-2.15.zip to /boot/develop/tools
385. if the folder /boot/develop/tools/sdk exists, rename it
396. create the link: 
40   /boot/develop/tools/sdk 
41   -> /boot/develop/tools/sdk_gcc-2.95.3_binutils-2.15
42--------------------------------------------------------------------------
43In order to switch between different compilers later, you just need to 
44adjust the two links:
45   /boot/develop/tools/gnupro -> /boot/develop/tools/...
46   /boot/develop/tools/sdk -> /boot/develop/tools/...
47++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
48The new libstdc++ (optional but recommended):
491. rename /boot/develop/headers/cpp 
502. execute this in Terminal (creates a link without dereferencing):
51	ln -snf /boot/develop/tools/gnupro/include/g++ /boot/develop/headers/cpp
523. rename /boot/beos/system/lib/libstdc++.r4.so (e.g. libstdc++.r4.so.Dano)
534. copy /boot/develop/tools/gcc-2.95.3_binutils-2.15/lib/libstdc++.r4.so
54   to /boot/beos/system/lib/libstdc++.r4.so
55++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
56
57
58
59++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
60Zeta (untested, please tell me if it doesn't work):
61++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
62The compiler, linker and tools (installed into the Zeta-devkit):
631. extract gcc-2.95.3_binutils-2.15.zip 
64   to /etc/develop/zeta-r1-gcc2-x86/tools
652. if the folder /etc/develop/zeta-r1-gcc2-x86/tools/gnupro exists, rename it
663. create the link: 
67   /etc/develop/zeta-r1-gcc2-x86/tools/gnupro 
68   -> /etc/develop/zeta-r1-gcc2-x86/tools/gcc-2.95.3_binutils-2.15
694. extract sdk_gcc-2.95.3_binutils-2.15.zip 
70   to /etc/develop/zeta-r1-gcc2-x86/tools
715. if the folder /etc/develop/zeta-r1-gcc2-x86/tools/sdk exists, rename it
726. create the link: 
73   /etc/develop/zeta-r1-gcc2-x86/tools/sdk 
74   -> /etc/develop/zeta-r1-gcc2-x86/tools/sdk_gcc-2.95.3_binutils-2.15
75--------------------------------------------------------------------------
76In order to switch between different compilers (for the Zeta target) later, 
77you just need to adjust the two links:
78   /etc/develop/zeta-r1-gcc2-x86/tools/gnupro 
79   -> /etc/develop/zeta-r1-gcc2-x86/tools/...
80   /etc/develop/zeta-r1-gcc2-x86/tools/sdk 
81   -> /etc/develop/zeta-r1-gcc2-x86/tools/...
82++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
83The compiler, linker and tools (linked into the R5-devkit):
841. create the link: 
85   /etc/develop/beos-r5-gcc2-x86/tools/gcc-2.95.3_binutils-2.15 
86   -> /etc/develop/zeta-r1-gcc2-x86/tools/gcc-2.95.3_binutils-2.15
872. if the folder /etc/develop/beos-r5-gcc2-x86/tools/gnupro exists, rename it
883. create the link: 
89   /etc/develop/beos-r5-gcc2-x86/tools/gnupro 
90   -> /etc/develop/beos-r5-gcc2-x86/tools/gcc-2.95.3_binutils-2.15
91--------------------------------------------------------------------------
92In order to switch between different compilers (for the R5 target) later, 
93you just need to adjust the link:
94   /etc/develop/beos-r5-gcc2-x86/tools/gnupro 
95   -> /etc/develop/beos-r5-gcc2-x86/tools/...
96++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
97The new libstdc++ for target Zeta (optional but recommended):
981. rename /etc/develop/zeta-r1-gcc2-x86/headers/cpp 
992. execute this in Terminal (creates a link without dereferencing):
100	ln -snf /etc/develop/zeta-r1-gcc2-x86/tools/gnupro/include/g++ /etc/develop/zeta-r1-gcc2-x86/headers/cpp
1013. rename /boot/beos/system/lib/libstdc++.r4.so (e.g. libstdc++.r4.so.Zeta)
1024. copy /etc/develop/zeta-r1-gcc2-x86/tools/gcc-2.95.3_binutils-2.15/lib/libstdc++.r4.so
103   to /boot/beos/system/lib/libstdc++.r4.so
104++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
105The new libstdc++ for target R5 (optional but recommended):
1061. rename /etc/develop/beos-r5-gcc2-x86/headers/cpp 
1072. execute this in Terminal (creates a link without dereferencing):
108	ln -snf /etc/develop/beos-r5-gcc2-x86/tools/gnupro/include/g++ /etc/develop/beos-r5-gcc2-x86/headers/cpp
1093. rename /etc/develop/beos-r5-gcc2-x86/lib/x86/libstdc++.r4.so (e.g. libstdc++.r4.so.R5)
1104. copy /etc/develop/beos-r5-gcc2-x86/tools/gcc-2.95.3_binutils-2.15/lib/libstdc++.r4.so
111   to /etc/develop/beos-r5-gcc2-x86/lib/x86/libstdc++.r4.so
112++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
113
114
115Have fun!
116
117
118Please send questions & bug-reports to: Oliver Tappe <gcc@hirschkaefer.de>
119