public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Roger Ghanem <ghanem@usc.edu>
To: gcc-help@gcc.gnu.org
Subject: gfortran in 64-bit mode
Date: Fri, 18 Nov 2005 19:11:00 -0000	[thread overview]
Message-ID: <437E1440.2050904@usc.edu> (raw)

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

                 reply	other threads:[~2005-11-18 17:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=437E1440.2050904@usc.edu \
    --to=ghanem@usc.edu \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).