I am trying to update my compiler to the last version (2.95.1 as I
saw on www.gnu.org). Currently I have egcs 2.91.36, slightly more than
year old version. (I hope to see some change in recompiled apps and
besides I got tired of that "gcc vs. egcs" - every app seems to require
its own version! Now that they combined under one release it should
(hopefully) go away). I am not sure if I am doing it right.
I compile gcc 2.95.1 with my current compiler following described
./configure --prefix=/usr --local-prefix=/usr
make CFLAGS=... [many flags - I try to get rid of debug and profile info
as it is described in BUILD] bootstrap-lean
First I tried to do ./configure without setting --prefix= and so on.
By default it installs gcc in /usr/local. It does it by I could not get
root to use new compiler. I found that resupplying all --prefix
--local-prefix and --something-about-gxx to the default positions (under
/usr) does the work.
New compiler compiles kernel fine, I compiled lately released SB Live
driver - no problem. However I routinely getting into the trouble with
xfree and kde (I didn't try more X oriented apps).
make World for X compiles in an hour (at least it does not halt with
"Error" message) but does not produce any X servers even though I
triple checked the configuration and it seemed to do that with my old
When compiling kde it halts already on kdesupport package in mimelib
complaining about invalid asm instruction, something about assigning
fixed register (CX) somewhere. Again old version does the job.
I tried recompiling gcc with all variants (presence/absence) of
--enable-shared --enable-threads --enable-cpp --enable-cpplibs, no
I seem to remember seeing success stories about compiling these
libs/apps by this version of gcc. At least as I know that development of
glx library (3D support for Matrox/TNT cards for xfree86) done with this
What I am doing wrong?