Mail Archives: pgcc/1999/09/03/23:16:14
Hi!
First of all, I'm not in the mailing list. Please any answer, flame, etc mail me
to hernando AT cnea DOT gov. ar
Now to the point. I've just downloaded pgcc-1.1.3 and pg77-1.1.3 (both glibc version)
from the official page and tried to install them in my red hat6.0 box. In the past
I've installed pgcc in slackware linux with no problems but, here, things went wrong
and I need help. What I did is:
-> in /usr/bin mv gcc egcs-rh6-gcc
mv g77 egcs-rh6-g77
-> in / tar xzvf pgcc-1.1.3-linux-x86-glibc.tar.gz
tar xzvf pg77-1.1.3....
rehash
To test the compilers, in my home directory (now not as root)
g77 pruf.f -o pru
and got the message
g77: installation problem, cannot exec `f771': no such file or directory
gcc pruc.c -o pru
gcc: installation problem, cannot exec `cpp': no such file or directory
Then I tried the following (fron now on I only tried with g77)
-> cd /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66
mv f771 egcs-rh6-f771
ln -s ../../i586-pc-linux-gnu/pgcc-2.91.66/f771 f771
rehash
and got the same message
then I included /usr/lib/gcc-lib/i586-pc-linux-gnu/pgcc-2.91.66 in the path and
the compilation passed through f771 but stopped with the message
ld: cannot open crtbegin.o: no such file or directory
which of course is in the directory I included in the path. The message was the same
with or without the link I referred to above.
Now I'm lost in the woods. I can essentially see two reasons for this: 1) (more
probable) something I did wrong, 2) in order to install in red hat 6 I need a pgcc
binary built differently (in that case, do I need to rename some other files in
order to preserve the existing gcc?). If it is true, where I can get it?
A last, and unrelated question, in order to install a glibc compiled with
pgcc, the comand
rpm -Uvh glibc-whatever.rpm
will install correctly or there is a point where the system is left in the
vacuum with no libc at all?
Thanks a lot to everybody
PS My box is amdk6-3 400, 128 M and redhat 6 with no add-ons
---------------------------------------------------------------------
# # #
# Dr. Jorge A. Hernando # e-mail: hernando AT cnea DOT gov DOT ar #
# Physics Dept., CNEA # phone: 54-11-4754-7106 #
# Av. Libertador 8250 # fax: 54-11-4754-7121 #
# 1429 Buenos Aires # #
# Argentina # #
---------------------------------------------------------------------
- Raw text -