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 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> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: List-Subscribe: List-Archive: List-Post: List-Help: , 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