* gfortran in 64-bit mode
@ 2005-11-18 19:11 Roger Ghanem
0 siblings, 0 replies; only message in thread
From: Roger Ghanem @ 2005-11-18 19:11 UTC (permalink / raw)
To: gcc-help
I am having 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-11-18 17:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-18 19:11 gfortran in 64-bit mode Roger Ghanem
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).