delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/11/15/17:31:46

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4EC2E816.1010806@aol.com>
Date: Tue, 15 Nov 2011 17:30:46 -0500
From: Tim Prince <n8tm AT aol DOT com>
Reply-To: tprince AT computer DOT org
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: shared Libary problems
References: <074601cca3dd$e28be2a0$a7a3a7e0$@gov>
In-Reply-To: <074601cca3dd$e28be2a0$a7a3a7e0$@gov>
x-aol-global-disposition: G
X-AOL-SCOLL-SCORE: 0:2:356322720:93952408
X-AOL-SCOLL-URL_COUNT: 0
x-aol-sid: 3039ac1d33c34ec2e82310f9
X-AOL-IP: 134.134.139.76
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 11/15/2011 4:31 PM, Jim Harsh wrote:

If you're depending on a specific C++ mangling to match what you've put 
in your build, bear in mind that no g++ will match any Visual Studio 
compatible C++ compiler.  Normal procedure is to use extern "C" on the 
C++ side and iso_c_interop on the Fortran side so as to remove mangling 
on both sides.  You may have better chances with the linux build 
procedure under cygwin, hoping that cygwin g++ may match linux g++.
If you normally embed options such as -O2 in your alias for the compiler 
name when using Intel compilers, you could do the same with gnu compilers.


-- 
Tim Prince

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019