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]
Other format: [Raw text]

Cant install GCC 2.95.2 on Red hat 8.0


Hi,
I posted yesterday that I am having trouble installing
gcc2.95.2 and I had Red hat 8.0 which came with gcc
3.2 and I cant install gcc 2.95.2 and also I got some
errors when I typed make bootstrap can any one tell me
exactly what to do please.
This is what happenes when I did make bootstrap and
make install and then after that I trid compiling a
program,
 g++ -ansi -Walls append.cpp
In file included from
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/../../../../include/g++-3/iostream.h:31,
                 from append.cpp:4:
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/../../../../include/g++-3/streambuf.h:
In method `struct streampos streambuf::pubseekoff(long
long int, ios::seek_dir, int = 3)':
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/../../../../include/g++-3/streambuf.h:362:
conversion from `__off64_t' to non-scalar type
`streampos' requested
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/../../../../include/g++-3/streambuf.h:
In method `struct streampos
streambuf::pubseekpos(_G_fpos64_t, int =
3)':/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/../../../../include/g++-3/streambuf.h:364:
`struct streampos' used where a `long long int' was
expected
append.cpp: In function `int main()':
append.cpp:36: `struct streampos' used where a `int'
was expected

Thanks a lot,
Zubair

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca


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