mangling of '$'

Adam Megacz gcc@lists.megacz.com
Tue Dec 4 17:16:00 GMT 2001


Hi, all. I recently attempted to link code compiled with g++ to code
compiled with gcj. Unfortunately, the link fails because, according to
Bryce McKinlay (who was kind enough to let me quote this):

> Its because gcj and g++ disagree on how the "$" symbol should be 
> mangled. IIRC, the C++ guys agreed that it should do what gcj does 
> (mangle it to a unicode symbol), but they never implemented it.
 
[as discussed in http://gcc.gnu.org/ml/gcc-patches/2001-03/msg01667.html]

Could anybody here please adjust g++'s mangling of "$" to "__U24", as
gcj does? I'd greatly appreciate it.

Also, I know beggars can't be choosers, but since it seems to be a
simple fix, and since it's sort of limiting my ability to proceed, do
you think you could fix it soon? Sorry, I hate to whine like this...

Thanks!

  - a



More information about the Gcc mailing list