Get rid of underscore.c

H. J. Lu hjl@lucon.org
Fri Sep 20 08:28:00 GMT 2002


On Fri, Sep 20, 2002 at 11:05:10AM -0400, DJ Delorie wrote:
> 
> > How about this? Move cxxfilt.c to libiberty, but never compile it in
> > libiberty.
> 
> Is it really appropriate for a portability library to have
> applications in it?

What other directories do gcc and binutils share? If there is none, can
we create one? If we won't, how about putting it back in cplus-dem.c
with

#ifndef CXXFILT

demangler stuff ...

#else

cxxfilt.c

#endif

Gcc and binutils can do

cat > cxxfilt.c << EOF
#define CXXFILT
#inclide "cplus-dem.c"
EOF

during configure.


H.J.



More information about the Binutils mailing list