reg. compilation

Ryan Mansfield
Tue Nov 15 05:03:00 GMT 2005

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.

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)
Error: Cray pointer declaration at (1) requires -fcray-pointer flag.
ryan@avarice:~$ gfortran -fcray-pointer pointer.f


Ryan Mansfield

-----Original Message-----
From: [] On
Behalf Of ARC Murthy
Sent: Monday, November 14, 2005 7:23 AM
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
Structural Engineering Research Centre
CSIR Campus

More information about the Gcc-help mailing list