This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc symbol names
- To: Al_Niessner at bigfoot dot com
- Subject: Re: gcc symbol names
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Sun, 27 Feb 2000 20:18:00 +0100
- CC: gcc-help at gcc dot gnu dot org
- References: <38B8A8F8.C2403E51@bigfoot.com>
> I built the egcs 1.1.2 compiler and am now having symbol name problems.
> I have some old libraries that use a different naming scheme and I would
> ike to know how to make the new gcc match the old gcc names. The
> difference is quite simple. Using nm:
>
> old name: _$_blahblahblah
> new name: _._blahblahblah
>
> How do I get the gcc I compiled to use '$' instead of '.'?
>
> Any and all help is appreciated.
You'll have to give us some more details that that. What target system
are you using? What is the exact spelling of the symbol? I very much
doubt that it is '_._blahblahblah', because it looks like a C++
destructor name, but that it would have to be '_._12blahblahblah'.
There might be a very good reason for the change in the mangling; or
it might be configuration problem.
Regards,
Martin