------- Comment #2 from danglin at gcc dot gnu dot org 2006-03-15 03:37 ------- Just adding '-v' to the command, I see that all the command does is link:
Driving: /test/gnu/gcc-4.1/objdir/./gcc/gfortran -B/test/gnu/gcc-4.1/objdir/./gc c/ -B/opt/gnu64/gcc/gcc-4.1.0/hppa64-hp-hpux11.11/bin/ -B/opt/gnu64/gcc/gcc-4.1. 0/hppa64-hp-hpux11.11/lib/ -isystem /opt/gnu64/gcc/gcc-4.1.0/hppa64-hp-hpux11.11 /include -isystem /opt/gnu64/gcc/gcc-4.1.0/hppa64-hp-hpux11.11/sys-include -I . -Wall -fno-repack-arrays -fno-underscoring -v -lgfortranbegin -lgfortran -lm -sh ared-libgcc Reading specs from /test/gnu/gcc-4.1/objdir/./gcc/specs Target: hppa64-hp-hpux11.11 Configured with: ../gcc/configure --with-gnu-as --with-as=/opt/gnu64/bin/as --wi th-gnu-ld --with-ld=/opt/gnu64/bin/ld --enable-shared --disable-nls --with-local -prefix=/opt/gnu64 --prefix=/opt/gnu64/gcc/gcc-4.1.0 --host=hppa64-hp-hpux11.11 --enable-threads=posix --disable-libmudflap --with-gmp=/opt/gnu64/gcc/gcc-4.1.0 --enable-languages=c,c++,objc,obj-c++,fortran,java Thread model: posix gcc version 4.1.0 /test/gnu/gcc-4.1/objdir/./gcc/collect2 -E -u main /usr/ccs/lib/pa20_64/crt0.o /lib/pa20_64/unix98.o /test/gnu/gcc-4.1/objdir/./gcc/crtbegin.o -L/test/gnu/gcc- 4.1/objdir/./gcc -L/opt/gnu64/gcc/gcc-4.1.0/lib/gcc/hppa64-hp-hpux11.11/4.1.0 -L /usr/ccs/lib/pa20_64 -L/opt/langtools/lib/pa20_64 -L/opt/gnu64/gcc/gcc-4.1.0/lib /gcc/hppa64-hp-hpux11.11/4.1.0/../../.. -L/lib/pa20_64 -L/usr/lib/pa20_64 -lgfor tranbegin -lgfortran -lm -lgcc_s -lgcc -lc /usr/lib/pa20_64/milli.a -lgcc_s -lgc c /test/gnu/gcc-4.1/objdir/./gcc/crtend.o /opt/gnu64/gcc/gcc-4.1.0/lib/gcc/hppa64-hp-hpux11.11/4.1.0/../../../libgfortranb egin.a(fmain.o): In function `main': undefined reference to `MAIN__' collect2: ld returned 1 exit status Possibly, the driver is mislinked (this doesn't seem to happen with HP ld), but it's a bit strange. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26686