This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
update Redhat 2.96 to gcc2.95.3 and related problem
- To: <gcc-help at gcc dot gnu dot org>
- Subject: update Redhat 2.96 to gcc2.95.3 and related problem
- From: Zhanjun Ying <zhanjun at pangea dot stanford dot edu>
- Date: Tue, 27 Mar 2001 09:08:04 -0800 (PST)
I have a Redhat 7.0. The g++ version that comes with this OS is gcc
version 2.96 20000731 (Red Hat Linux 7.0). When I use it to compile one of
my program, it compiled but when I run, it seg-faults. However, under
Digital Unix 4.0d, I can compile it with g++2.95.3 and it runs. That makes
me suspect that there was something wrong with the 2.96 version. So I
decide to install the newly released gcc2.95.3. Installation sees OK.
However, when I use it to compile the code, it shows that permission for
several directories are incorrect resulting some header files couldn't be
found. After I manully corrected that, I still got the following error.
I tried to "chmod go+rwx /usr/include/gnu /usr/include/gnu/stubs.h", but
that didn't help. However I can compile that code as root.
Any suggestions about the error? Should I prefer gcc-2.95.3 over the 2.96
version?
thanks a lot
Zhanjun