This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]