how to install gcc on haiku raw image?

Forum thread started by basti171 on Sat, 2008-03-22 13:09

i installed the gcc-2.95.3 ob haiku but it doesn't work...
i did this:

How to install gcc-2.95.3 under different versions of BeOS.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
BeOS R5 (with or without BONE):
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
The compiler, linker and tools:
1. extract gcc-2.95.3_binutils-2.17.zip to /boot/develop/tools
2. if the folder /boot/develop/tools/gnupro exists, rename it
3. create the link:
/boot/develop/tools/gnupro
-> /boot/develop/tools/gcc-2.95.3_binutils-2.17
--------------------------------------------------------------------------
In order to switch between different compilers later, you just need to
adjust the link:
/boot/develop/tools/gnupro -> /boot/develop/tools/...
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
The new libstdc++ (optional but recommended):
1. rename /boot/develop/headers/cpp
2. execute this in Terminal (creates a link without dereferencing):
ln -snf /boot/develop/tools/gnupro/include/g++ /boot/develop/headers/cpp
3. rename /boot/beos/system/lib/libstdc++.r4.so (e.g. libstdc++.r4.so.R5)
4. copy /boot/develop/tools/gcc-2.95.3_binutils-2.17/lib/libstdc++.r4.so
to /boot/beos/system/lib/libstdc++.r4.so
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

but i get in terminal following error message:

$gcc
specs file malformed after 84 characters

what does that mean?