Problem building Fortran program with g77
icaplan@planalytics.com
icaplan@planalytics.com
Fri Oct 27 05:40:00 GMT 2000
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
More information about the Gcc-bugs
mailing list