From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin v. Loewis" To: Al_Niessner@bigfoot.com Cc: gcc-help@gcc.gnu.org Subject: Re: gcc symbol names Date: Sat, 01 Apr 2000 00:00:00 -0000 Message-ID: <200002271918.UAA01018@loewis.home.cs.tu-berlin.de> References: <38B8A8F8.C2403E51@bigfoot.com> X-SW-Source: 2000-q1/msg00290.html Message-ID: <20000401000000.w1jnXYXlZOhvnb8BpGOQXHtxz7SQyHpA3TcmgfFH3m8@z> > 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