This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Problem building Fortran program with g77
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Problem building Fortran program with g77
- From: icaplan at planalytics dot com
- Date: Fri, 27 Oct 2000 08:37:54 -0400
- cc: twalsky at planalytics dot com,tboberg at planalytics dot com,smarusic at planalytics dot com
Hello,
We are having difficulty building programs using g77. This is probably not
a bug,
but we are hoping you might be able to point us to the right place to make our
inquiry,
if not tell us the cause of the problem. The version we are using, as shown by
'g77 -v',
is "GNU F77 version 2.95.2 19991024 (release) (sparc-sun-solaris2.7)".
We seem to be missing components which are needed by the g77 compiler.
If we try to build the following very simple program, we get these error
messages:
Program (test.f):
program fcwords
print*,'Hello World!'
stop
end
Command line:
g77 test.f
Resulting output:
ld: fatal: file values-Xa.o: cannot open file: No such file or directory
ld: fatal: File processing errors. No output written to a.out
collect2: ld returned 1 exit status
We have been advised that the missing component may be library libg2c.a,
but
we're not sure where this library is located or how to obtain it.
Thanks very much for your help.
-- Ira Caplan
Planalytics
610-407-2937 (voice)
610-640-0147 (fax)
icaplan@planalytics.com