Web lists-archives.org

Re: [Mingw-users] [64-bit mingw] Leading underscore or not?




Patrick Hartling wrote:

> I am still plugging away with 64-bit MinGW stuff, and I have run into a
> particularly tricky issue. It seems that the 64-bit Visual C++ 8.0 compiler
> does not put a leading underscore on C symbols. The cross-compiler build of
> GCC 4.3.0 that I am using does, and that means that a 64-bit C library built
> using MinGW fails to resolve symbols needed by code compiled by Visual C++
> that is linking against that C library.

If gcc is not following the MS x64 platform ABI, then that's a bug that
needs to be fixed.  The port is ongoing and you should take this up with
Kai and/or the gcc list.  I seem to recall that Kai has been working on
pushing through a patch that allows supporting more than one ABI at a
time in the i386 backend, and that might be a prerequisite for fixing
this.

Brian

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users