help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Eliminating Name Mangling in GCC


From: Thomas
Subject: Re: Eliminating Name Mangling in GCC
Date: Fri, 19 Nov 2004 11:15:47 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041101

Peter B Du Bois wrote:



Toolset: Tornado with GCC version 2.96.

Problem: How to avoid the name mangling of global symbols that GCC
      performs.

The solution appears to be use of the compiler switch,
“-frandom–seed=string”, however the compiler declares that switch as
invalid.

Any thoughts on a solution would be most appreciated.

Peter
===============================
Are you trying to load dynamic libraries?

One way to get rid of the name mangling would be to use extern C {...stuff not to be mangled...}

There is another example here http://www.isotton.com/howtos/C++-dlopen-mini-HOWTO/C++-dlopen-mini-HOWTO.html#mangling




reply via email to

[Prev in Thread] Current Thread [Next in Thread]