From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21515 invoked by alias); 8 Jan 2005 23:33:22 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 21504 invoked from network); 8 Jan 2005 23:33:17 -0000 Received: from unknown (HELO sccrmhc11.comcast.net) (204.127.202.55) by sourceware.org with SMTP; 8 Jan 2005 23:33:17 -0000 Received: from [192.168.1.101] (c-24-0-52-61.client.comcast.net[24.0.52.61]) by comcast.net (sccrmhc11) with SMTP id <20050108233317011003877qe>; Sat, 8 Jan 2005 23:33:17 +0000 Subject: Re: compiling fortran using static variables From: Bud Davis To: jupp_tscheak@gmx.de Cc: gcc-help@gcc.gnu.org Content-Type: text/plain Message-Id: <1105227195.14405.4.camel@localhost.localdomain> Mime-Version: 1.0 Date: Sat, 08 Jan 2005 23:33:00 -0000 Content-Transfer-Encoding: 7bit X-SW-Source: 2005-01/txt/msg00045.txt.bz2 the compiler driver used to link your executable (g++) has nothing to do with fortran SAVE. make sure that all you fortran is compiled with g77 -fno-automatic or alternatively, properly use the SAVE statement in you fortran routines. if you still have problems, please post a small example and we will figure this out :) HTH, bud davis