[haiku-development] Re: Can't build Haiku in BeOS R5 PE again...
- From: Olivier Coursière <olivier.coursiere@xxxxxxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Thu, 24 Apr 2008 01:41:46 +0200
Luposian wrote:
Why did it work fine before now? It's been weeks since Michael's
cross-compiler came out and I've been building Haiku fine til now,
*without* the old GCC that you get from BeBits. What changed? Why?
It probably works before because you do not need to recompile addattr
before. A header change could force a recompile...
The "old gcc" (from http://www.bebits.com/app/4011) is not as old as you
think as it is less than one year old :-) (from last july).
The one currently installed on your computer is from the previous
MILLENIUM : THAT one is very, very old
/boot/develop/tools/gnupro/lib/gcc-lib/i586-beos/2.9-beos-991026 ! (see
your capture in a previous message)
if you read carefully the INSTALL file in the gcc package, there is
nothing that could be wrong, except if you forget step 2 : renaming your
current gnupro directory in /boot/develop/tools/. If not, you could mix
files from different versions (this is the only thing i can imagine that
could explain you previous bad experience).
Updating gcc is not more difficult than installing the cross compiler.
And you have already done this.
Here is a copy of the instructions (from INSTALL...) :
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
"/God helps them that help themselves"
/Olivier
- Follow-Ups:
- References:
- [haiku-development] Latest changes and general status.
- From: Bruno G. Albuquerque
- [haiku-development] Re: Can't build Haiku in BeOS R5 PE again...
- From: Luposian
- [haiku-development] Re: Can't build Haiku in BeOS R5 PE again...
- From: Ingo Weinhold
- [haiku-development] Re: Can't build Haiku in BeOS R5 PE again...
- From: Luposian
Other related posts:
- » [haiku-development] Re: Can't build Haiku in BeOS R5 PE again...
- » [haiku-development] Re: Can't build Haiku in BeOS R5 PE again...
- » [haiku-development] Re: Can't build Haiku in BeOS R5 PE again...
- » [haiku-development] Re: Can't build Haiku in BeOS R5 PE again...
- » [haiku-development] Re: Can't build Haiku in BeOS R5 PE again...
- » [haiku-development] Re: Can't build Haiku in BeOS R5 PE again...
- » [haiku-development] Re: Can't build Haiku in BeOS R5 PE again...
- » [haiku-development] Re: Can't build Haiku in BeOS R5 PE again...
- » [haiku-development] Re: Can't build Haiku in BeOS R5 PE again...
- » [haiku-development] Re: Can't build Haiku in BeOS R5 PE again...
- » [haiku-development] Re: Can't build Haiku in BeOS R5 PE again...
- » [haiku-development] Re: Can't build Haiku in BeOS R5 PE again...
- » [haiku-development] Re: Can't build Haiku in BeOS R5 PE again...
- » [haiku-development] Re: Can't build Haiku in BeOS R5 PE again...
- » [haiku-development] Re: Can't build Haiku in BeOS R5 PE again...
- [haiku-development] Latest changes and general status.
- From: Bruno G. Albuquerque
- [haiku-development] Re: Can't build Haiku in BeOS R5 PE again...
- From: Luposian
- [haiku-development] Re: Can't build Haiku in BeOS R5 PE again...
- From: Ingo Weinhold
- [haiku-development] Re: Can't build Haiku in BeOS R5 PE again...
- From: Luposian