This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Suse 10.0 x86_64


braun@ifh-lewb07:/home/braun/braun/works> gcc hello.f95
/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../lib64/crt1.o: In function
`_start':
../sysdeps/x86_64/elf/start.S:109: undefined reference to `main'
/tmp/cc4Eu28t.o: In function `MAIN__':
hello.f95:(.text+0x7): undefined reference to `_gfortran_filename'
hello.f95:(.text+0x11): undefined reference to `_gfortran_line' ....

In addition to what was said about gfortran-4.0.2 not really being a usable gfortran version, the compiler should be called 'gfortran hello.f95' and not 'gcc hello.f95'.

FX


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]