Binary Compatibility [was Re: libstdc++ compatibility]

Mumit Khan khan@xraylith.wisc.edu
Sat Oct 24 14:26:00 GMT 1998


On Fri, 23 Oct 1998, Martin von Loewis wrote:

> One thing I personally like to see is a mangler testsuite. I'm not
> sure how to implement this. Ideally, I'd like to write
> 
> namespace Foo{
>   void bar(){  // MANGLED bar__3Foov
>   }
> }
> 
> It would produce assembler code (or an object file?) and then somehow
> check whether the symbol is present. Alternatively, it would try to
> call the function mangled that way, and see if it is the right one.
> 

Perhaps the gcc.dg/dll-* tests will help? That's the technique I use
to test for various DLL symbol names stuff in win32 (I got sick
of breaking these every time I changed something ...).

Regards,
Mumit






More information about the Gcc mailing list