This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Get rid of underscore.c
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.