From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15421 invoked by alias); 30 May 2011 22:42:23 -0000 Received: (qmail 15411 invoked by uid 22791); 30 May 2011 22:42:22 -0000 X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from cdptpa-omtalb.mail.rr.com (HELO cdptpa-omtalb.mail.rr.com) (75.180.132.122) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 30 May 2011 22:42:00 +0000 X-Authority-Analysis: v=1.1 cv=pLPlkKcK38cN4Cv4YkVeTGGRYpmKez/IrX640LVKWnc= c=1 sm=0 a=kj9zAlcOel0A:10 a=P80jBE3D/ImvVFu4rR+tWA==:17 a=uwHpbAk54FtssYWoDOMA:9 a=CjuIK1q_8ugA:10 a=P80jBE3D/ImvVFu4rR+tWA==:117 Received: from [75.80.130.152] ([75.80.130.152:52155] helo=[192.168.1.102]) by cdptpa-oedge04.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id FD/E7-20202-73D14ED4; Mon, 30 May 2011 22:41:59 +0000 Subject: Re: Calling C from Fortran Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: coml2 In-Reply-To: Date: Tue, 31 May 2011 05:46:00 -0000 Cc: gcc-help Content-Transfer-Encoding: 7bit Message-Id: <41F2FF70-1A9A-44F2-B8C3-344DD24556A3@san.rr.com> References: To: Jonathan Wakely 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: 2011-05/txt/msg00434.txt.bz2 Jonathan, Thanks for your prompt reply that was clear and works. Hugh On May 30, 2011, at 3:00 PM, Jonathan Wakely wrote: -mtune doesn't change the target architecture, you need -m32 to produce 32-bit output