I just did a complete download and rebuild of gfortran. When I try to use it, I get a linking error -
[dranta:~/tests] dir% rm print.o [dranta:~/tests] dir% gfortran -c print.f [dranta:~/tests] dir% nm print.o 00000000 T _MAIN__ U __gfortran_set_std U __gfortran_st_write U __gfortran_st_write_done U __gfortran_stop_numeric U __gfortran_transfer_real U dyld_stub_binding_helper [dranta:~/tests] dir% gfortran -o print print.f /usr/bin/ld: Undefined symbols: ___dso_handle collect2: ld returned 1 exit status [dranta:~/tests] dir% gfortran --v Using built-in specs. Target: powerpc-apple-darwin8.5.0 Configured with: ../gcc/configure --prefix=/Users/dir/gfortran --enable-languages=c,f95 Thread model: posix gcc version 4.2.0 20060411 (experimental) [dranta:~/tests] dir% -- Summary: Undefined symbols: ___dso_handle Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dir at lanl dot gov GCC host triplet: powerpc-apple-darwin8.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27121