This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Merge cpplib and front end hashtables, part 1
- To: dan at cgsoftware dot com
- Subject: Re: Merge cpplib and front end hashtables, part 1
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Wed, 16 May 2001 12:18:18 -0700
- Cc: neil at daikokuya dot demon dot co dot uk, dan at www dot cgsoftware dot com, shebs at apple dot com, gcc-patches at gcc dot gnu dot org, zackw at Stanford dot EDU
- Organization: CodeSourcery, LLC
- References: <87u22lktw4.fsf@dynamic-addr-83-177.resnet.rochester.edu>
>>>>> "Daniel" == Daniel Berlin <dan@cgsoftware.com> writes:
Daniel> It would be less work to write a good macro expander then
Daniel> it would to do the above.
GDB is beyond my purview. None-the-less, I'll horn in with my
opinion. :-)
One of the biggest mistakes that we can make with free software is to
build the same thing over again. Perhaps the largest practical
advantage of free software vis a vis proprietary software is that free
software developers can share their efforts easily, whereas
proprietary vendors are often forced to reinvent the wheel.
It is, in my opinion, a mistake for the GNU Project to have two C
macro expanders. Even it is more work in the short-term, there will
be significant long-term wins from investing whatever effort is
necessary in GDB and/or cpplib to make the two work together.
I would urge the GDB people postpone macro expansion, cool though it
would be, if there isn't sufficiently much effort available to
incorporate cpplib.
My two cents,
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com