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]

Re: Merge cpplib and front end hashtables, part 1


>>>>> "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


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