From: jtsilla@dec5200b.mit.EDU (james tsillas)
Subject: Suggestion for improvement to GNU C.
Organization: GNUs Not Usenet
Distribution: gnu
Date: Fri, 10 Apr 1992 06:02:04 GMT


Thank you for your wonderful compiler. We find to be the best we've
used. We can finally throw out Metaware!

One suggetion for improvement: standard UNIX always uses the .o
extension for object filenames. This is hardcoded into gcc.c in about
eight places. For our port we were forced to modify gcc.c in order to
produce .obj. I suggest adding a macro although I'm not usre how to do
this correctly since the descriptor are in a string.

best regards,
-Jim Tsillas./

here is a difference for gcc.c:

*** gcc.c~	Sat Mar 21 17:50:43 1992
--- gcc.c	Thu Apr  9 16:35:45 1992
***************
*** 412,418 ****
  		   %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
  		   %{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%g.s}} |\n\
                %{!S:as %{R} %{j} %{J} %{h} %{d2} %a \
! 		      %{c:%W{o*}%{!o*:-o %w%b.o}}%{!c:-o %d%w%b.o}\
                        %{!pipe:%g.s} %A\n }}}}"},
    {"-",
     "%{E:cpp -lang-c %{nostdinc} %{C} %{v} %{A*} %{D*} %{U*} %{I*} %{i*} %{P}\
--- 412,418 ----
  		   %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
  		   %{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%g.s}} |\n\
                %{!S:as %{R} %{j} %{J} %{h} %{d2} %a \
! 		      %{c:%W{o*}%{!o*:-o %w%b.obj}}%{!c:-o %d%w%b.obj}\
                        %{!pipe:%g.s} %A\n }}}}"},
    {"-",
     "%{E:cpp -lang-c %{nostdinc} %{C} %{v} %{A*} %{D*} %{U*} %{I*} %{i*} %{P}\
***************
*** 445,451 ****
  		   %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
  		   %{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%g.s}} |\n\
                %{!S:as %{R} %{j} %{J} %{h} %{d2} %a \
! 		      %{c:%W{o*}%{!o*:-o %w%b.o}}%{!c:-o %d%w%b.o}\
                        %{!pipe:%g.s} %A\n }}}}"},
    {".h", "@c-header"},
    {"@c-header",
--- 445,451 ----
  		   %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
  		   %{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%g.s}} |\n\
                %{!S:as %{R} %{j} %{J} %{h} %{d2} %a \
! 		      %{c:%W{o*}%{!o*:-o %w%b.obj}}%{!c:-o %d%w%b.obj}\
                        %{!pipe:%g.s} %A\n }}}}"},
    {".h", "@c-header"},
    {"@c-header",
***************
*** 480,486 ****
  		   %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
  		   %{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%g.s}} |\n\
                %{!S:as %{R} %{j} %{J} %{h} %{d2} %a \
! 		      %{c:%W{o*}%{!o*:-o %w%b.o}}%{!c:-o %d%w%b.o}\
                        %{!pipe:%g.s} %A\n }}}}"},
    {".i", "@cpp-output"},
    {"@cpp-output",
--- 480,486 ----
  		   %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
  		   %{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%g.s}} |\n\
                %{!S:as %{R} %{j} %{J} %{h} %{d2} %a \
! 		      %{c:%W{o*}%{!o*:-o %w%b.obj}}%{!c:-o %d%w%b.obj}\
                        %{!pipe:%g.s} %A\n }}}}"},
    {".i", "@cpp-output"},
    {"@cpp-output",
***************
*** 491,497 ****
  	%{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
  	%{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%g.s}} |\n\
      %{!S:as %{R} %{j} %{J} %{h} %{d2} %a \
!             %{c:%W{o*}%{!o*:-o %w%b.o}}%{!c:-o %d%w%b.o} %{!pipe:%g.s} %A\n }"},
    {".ii", "@c++-cpp-output"},
    {"@c++-cpp-output",
     "cc1plus %i %1 %2 %{!Q:-quiet} %{d*} %{m*} %{a}\
--- 491,497 ----
  	%{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
  	%{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%g.s}} |\n\
      %{!S:as %{R} %{j} %{J} %{h} %{d2} %a \
!             %{c:%W{o*}%{!o*:-o %w%b.obj}}%{!c:-o %d%w%b.obj} %{!pipe:%g.s} %A\n }"},
    {".ii", "@c++-cpp-output"},
    {"@c++-cpp-output",
     "cc1plus %i %1 %2 %{!Q:-quiet} %{d*} %{m*} %{a}\
***************
*** 501,512 ****
  	    %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
  	    %{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%g.s}} |\n\
         %{!S:as %{R} %{j} %{J} %{h} %{d2} %a \
! 	       %{c:%W{o*}%{!o*:-o %w%b.o}}%{!c:-o %d%w%b.o}\
  	       %{!pipe:%g.s} %A\n }"},
    {".s", "@assembler"},
    {"@assembler",
     "%{!S:as %{R} %{j} %{J} %{h} %{d2} %a \
!             %{c:%W{o*}%{!o*:-o %w%b.o}}%{!c:-o %d%w%b.o} %i %A\n }"},
    {".S", "@assembler-with-cpp"},
    {"@assembler-with-cpp",
     "cpp -lang-asm %{nostdinc} %{C} %{v} %{A*} %{D*} %{U*} %{I*} %{i*} %{P}\
--- 501,512 ----
  	    %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
  	    %{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%g.s}} |\n\
         %{!S:as %{R} %{j} %{J} %{h} %{d2} %a \
! 	       %{c:%W{o*}%{!o*:-o %w%b.obj}}%{!c:-o %d%w%b.obj}\
  	       %{!pipe:%g.s} %A\n }"},
    {".s", "@assembler"},
    {"@assembler",
     "%{!S:as %{R} %{j} %{J} %{h} %{d2} %a \
!             %{c:%W{o*}%{!o*:-o %w%b.obj}}%{!c:-o %d%w%b.obj} %i %A\n }"},
    {".S", "@assembler-with-cpp"},
    {"@assembler-with-cpp",
     "cpp -lang-asm %{nostdinc} %{C} %{v} %{A*} %{D*} %{U*} %{I*} %{i*} %{P}\
***************
*** 518,524 ****
  	%{g*} %{W*} %{w} %{pedantic*} %{H} %{d*} %C\
          %i %{!M:%{!MM:%{!E:%{!pipe:%g.s}}}}%{E:%W{o*}}%{M:%W{o*}}%{MM:%W{o*}} |\n\
      %{!M:%{!MM:%{!E:%{!S:as %{R} %{j} %{J} %{h} %{d2} %a \
!                     %{c:%W{o*}%{!o*:-o %w%b.o}}%{!c:-o %d%w%b.o}\
  		    %{!pipe:%g.s} %A\n }}}}"},
    /* Mark end of table */
    {0, 0}
--- 518,524 ----
  	%{g*} %{W*} %{w} %{pedantic*} %{H} %{d*} %C\
          %i %{!M:%{!MM:%{!E:%{!pipe:%g.s}}}}%{E:%W{o*}}%{M:%W{o*}}%{MM:%W{o*}} |\n\
      %{!M:%{!MM:%{!E:%{!S:as %{R} %{j} %{J} %{h} %{d2} %a \
!                     %{c:%W{o*}%{!o*:-o %w%b.obj}}%{!c:-o %d%w%b.obj}\
  		    %{!pipe:%g.s} %A\n }}}}"},
    /* Mark end of table */
    {0, 0}
Newsgroups: gnu.gcc.help