This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Suse 10.0 x86_64
- From: "François-Xavier Coudert" <fxcoudert at gmail dot com>
- To: braun at ifh dot uka dot de
- Cc: fortran at gcc dot gnu dot org
- Date: Mon, 29 Jan 2007 13:35:22 +0100
- Subject: Re: Suse 10.0 x86_64
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=D2lIYoiqtWfyxnUYlKyFnrhTJwpd7jtsuq3jDu5PuJ6vzON0GiZTyGrmu5IlJ/giTYAo7zFaoOgHVIffU8kV/eeDkhR7qH/9+oekWllVJtmCqXOb3xqrI60QjjUoJLtou/XQOrq02nmi33SzB2pcr5Nzyqvtpw92Btc+NQ4dAOg=
- References: <200701291208.23521.braun@ifh.uka.de>
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