RE: reg. compilation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is PR1703. Support for cray pointers was added on October 24, 2005. You
will need to use a more recent compiler and the -fcray-pointer option.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17031

For example:

ryan@avarice:~$ gfortran -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../configure --enable-languages=fortran --disable-nls
Thread model: posix
gcc version 4.1.0 20051112 (experimental)
ryan@avarice:~$ gfortran pointer.f
 In file pointer.f:2

         pointer (p,v)
                1
Error: Cray pointer declaration at (1) requires -fcray-pointer flag.
ryan@avarice:~$ gfortran -fcray-pointer pointer.f
ryan@avarice:~$

Regards,

Ryan Mansfield

-----Original Message-----
From: gcc-help-owner@xxxxxxxxxxx [mailto:gcc-help-owner@xxxxxxxxxxx] On
Behalf Of ARC Murthy
Sent: Monday, November 14, 2005 7:23 AM
To: gcc-help@xxxxxxxxxxx
Subject: reg. compilation

Dear sir

I have small fortran program. This program contains a variable called 
Pointer. This file has been compiled with intel fortran compiler and f77.
It is not compiling with g77 or g95 compiler. Herwith I am attaching a 
small fortran file. Kindly have look into this file and suggest how to 
overcome the pointer variable when compiling with g77 or g95. Any 
compiling options are to be used?

help in this regard is highly appreciable.

A.R.C. Murthy
Scientist
Structural Engineering Research Centre
CSIR Campus
Taramani
Chennai

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux