This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Binary Compatibility [was Re: libstdc++ compatibility]
- To: Martin von Loewis <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Subject: Re: Binary Compatibility [was Re: libstdc++ compatibility]
- From: Mumit Khan <khan at xraylith dot wisc dot edu>
- Date: Sat, 24 Oct 1998 16:26:09 -0500 (CDT)
- Cc: egcs at cygnus dot com
- Reply-To: Mumit Khan <khan at xraylith dot wisc dot edu>
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