Dear Martin,
This is how I am typing in the commands:
tborders:~/Documents/fortran tborders$ g77 area.f
tborders:~/Documents/fortran tborders$ g77 a.out
/usr/bin/ld: a.out is input for the dynamic link editor, is not
relocatable by the static link editor again
collect2: ld returned 1 exit status
As you can see, the program is able to compile. As a test, I have
changed the program with some mistakes and I do get errors from the
compiler. However, I cannot get the program to execute.
Do you know what this error means?
Cheers,
Tiffany
On May 21, 2005, at 3:14 AM, Martin Costabel wrote:
Tiffany Borders wrote:
Hello,
I am currently trying to get g77 installed and working on my Mac
running OS X (10.3). I have fink installed and I have updated and
installed g77 (there is a "current" under status in fink for g77).
However, when I try to compile a fortran program I get a message
saying, " /usr/bin/ld: a.out is input for the dynamic link editor, is
not relocatable by the static link editor again
collect2: ld returned 1 exit status."
It could be possible that I am not compiling my program correctly but
the commands I am giving it are:
g77 <program name>
a.out
This is probably just a small command syntax problem. You don't try to
run "g77 a.out" or something similar? It would be good to see an exact
copy of the commands you gave and their output.
--
Martin
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners