From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5803 invoked by alias); 23 Apr 2009 17:14:21 -0000 Received: (qmail 5795 invoked by uid 22791); 23 Apr 2009 17:14:20 -0000 X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL,BAYES_20 X-Spam-Check-By: sourceware.org Received: from mclniron02-ext.bah.com (HELO mclniron02-ext.bah.com) (156.80.1.73) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 23 Apr 2009 17:14:18 +0000 x-SBRS: None X-REMOTE-IP: 156.80.7.152 Received: from bahmail.bah.com (HELO mclnexbh02.resource.ds.bah.com) ([156.80.7.152]) by mclniron02-int.bah.com with ESMTP; 23 Apr 2009 13:14:16 -0400 Received: from MCLNEXVS02.resource.ds.bah.com ([156.80.7.102]) by mclnexbh02.resource.ds.bah.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 23 Apr 2009 13:14:16 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable x-cr-puzzleid: {55150C76-5454-43C1-85FC-0A52C5B61D89} Content-class: urn:content-classes:message Subject: GFortran Preprocessing Date: Thu, 23 Apr 2009 17:14:00 -0000 Message-ID: <5C063D1B790A3449B0B58BE75AEDE8300434D924@MCLNEXVS02.resource.ds.bah.com> x-cr-hashedpuzzle: KOg= kaI= ApMp AqUX BOcw CMDj DD2u Gj3r Gqew HO4R Hhfb H9zm IhxM Iv79 Je+S Jjrh;1;ZwBjAGMALQBoAGUAbABwAEAAZwBjAGMALgBnAG4AdQAuAG8AcgBnAA==;Sosha1_v1;7;{55150C76-5454-43C1-85FC-0A52C5B61D89};cgBhAG4AZABvAGwAcABoAF8AYwBoAHIAaQBzAHQAaQBhAG4AQABiAGEAaAAuAGMAbwBtAA==;Thu, 23 Apr 2009 17:13:15 GMT;RwBGAG8AcgB0AHIAYQBuACAAUAByAGUAcAByAG8AYwBlAHMAcwBpAG4AZwA= From: "Randolph, Christian [USA]" To: Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2009-04/txt/msg00341.txt.bz2 I have a mixed-language project I am trying to compile using GFortran 4.3 on a PC running Fedora 10. I have some preprocessor directives in both .f and .f90 files. Is there a blanket option I can use to force the compiler to use the preprocessor for these files? There are hundreds of files and I do not want to have to rename them to either .F or .F90. The make files are setup to use a common set of compiler options so I cannot easily use the "-x f77-cpp-input" and "-x f95-cpp-input" options piecemeal. Thanks, Chris Chris Randolph Associate Booz | Allen | Hamilton Phone: (937) 781-2451 Randolph_Christian@bah.com