This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

update Redhat 2.96 to gcc2.95.3 and related problem



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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]