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: gcc/ ld/ Mixing C++ objects from gcc and msvc : possible link ?


On Fri, Mar 11, 2005 at 04:37:36PM +0100, RzR www.rzr.online.fr wrote:
>> > A foo.lib can be used interchangeably with a libfoo.a file.  Except
>Yea I did not realize that was just a convention (I was also confused
>on cygwin :  .so vs .dll)
>
>> > for the well-documented and frequently repeated problems with C++
>> > name mangling, and the even more repeated problems with mixing
>> > the cygwin and msvcrt runtime libraries, there should be no problems
>> > with using a .lib file on the gcc command line or a .a file on the
>> > "cl" command line.
>> ==
>> You cannot intermix non-trivial C++ (and, in many cases, even C) object
>> files between compilers.
>> ==
>> 
>> I'm not saying that it can't be done in some specialized circumstances,
>... if it is not impossible, let's do it :)

Great.

*pause*

It's done!

Onto the next problem.

cgf

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


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