This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gfortran on 64-bit
- From: Ishwar Rattan <ishwar at pali dot cps dot cmich dot edu>
- To: Roger Ghanem <ghanem at venus dot usc dot edu>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Fri, 18 Nov 2005 15:37:31 -0500 (EST)
- Subject: Re: gfortran on 64-bit
- References: <20051118170752.9BAC752F6B9@venus.usc.edu>
May be nobody knows about this problem, so,
take a breather and reduce the noise.
-ishwar
On Fri, 18 Nov 2005, Roger Ghanem wrote:
> I am having some difficulties writing double precision variables using gfortran in 64-bit mode:
> source code is
>
> double precision d
> d=0.
> write(0,*) d
> end
>
> $ /usr/local/usr/bin/gfortran-4.0 -m64 -o pmain2 pmain2.f -L/usr/local/usr/lib
> $ ./pmain2
> Illegal instruction
>
> If I define d to be integer, then I am able to print it with no problem.
>
> Configuration for this gfortran:
>
> $ /usr/local/usr/bin/gfortran-4.0 -v
> Using built-in specs.
> Target: powerpc-apple-darwin8
> Configured with: /Build/apple/gcc/build/obj/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/
> man --enable-languages=c,objc,c+
> +,obj-c++,f95 --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --build=powerpc-
> apple-darwin8 --host=powerpc-apple-
> darwin8 --target=powerpc-apple-darwin8
> Thread model: posix
> gcc version 4.0.1 (Apple Computer, Inc. build 5224)
>
> Thank you for your help
> Roger Ghanem
>
>
> Roger Ghanem
> 254C Kaprielian Hall
> University of Southern California
> Los Angeles, CA 90089
> Tel: 213 740 9528
> Fax: 213 740 2037
>