This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: shared Libary problems


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]