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: a custom driver for the visible cpp [patch]




  In message <199903101435.JAA12318@blastula.phys.columbia.edu>you write:
  > 
  > This patch implements the user-visible cpp as a custom gcc driver.  It
  > is somewhat longer than necessary because I took the opportunity to
  > get rid of a bunch of Makefile cruft.  The important part is
  > cppspec.c.
  > 
  > I have run a bootstrap with this, and I have put xcpp through its
  > paces, but I haven't beaten on it extensively or tested
  > cross-compilation.
  > 
  > zw
  > 
  > 1999-03-10 09:15 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
  > 
  > 	* cppspec.c: New file defining a lang_specific_driver which
  > 	defaults to -E (i.e. preprocess only) and assumes any
  > 	unrecognized files are preprocessor input.
  > 	* cpp.sh: Removed.
  > 
  > 	* Makefile.in (install-cpp): Install xcpp, not cpp.sh.  Use
  > 	CPP_INSTALL_NAME.
  > 	(all.build, start.encap): Depend on xcpp.
  > 	(xcpp, gccspec.o, cppspec.o): New targets.
  > 	(xgcc): Link in gccspec.o.
  > 
  > 	* cp/Make-lang.in: Remove all references to g++.o/g++.c, and
  > 	link g++ from gcc.o.
  > 	* f/Make-lang.in: Likewise, with g77.o/g77.c.
  > 	* java/Make-lang.in: Likewise, with $(GCJ).o/$(GCJ).c.
  > 	* gcc.c: All code formerly dependent on LANG_SPECIFIC_DRIVER
  > 	defined is now compiled unconditionally.
  > 	* gccspec.c: New file defining stub lang_specific_driver and
  > 	lang_specific_pre_link functions.
I couldn't decode this.  Please send it either as a traditional uuencoded
file, or as a mime attachment.

I would also recommend against cleaning up unrelated makefile stuff. 
Unrelated makefile cleanups should be a separate patch.

jeff


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