This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: Macros and K&R


On Mon, Dec 17, 2001 at 06:35:45PM -0800, Ian Lance Taylor wrote:

> The C preprocessor is not terribly useful for assembly language,
> except for #include.  M4 works, but M4 itself is too complicated.

true.  my use of cpp assembly files doesn't extend much past #include
and #define.

> Not too many people write a lot of straight assembler code these days,
> so macro support in gas is not all that important.

depends on your target, I guess.  I would think with all the 8-bit ports
showing up to binutils nowadays that having a good macro assembler would
be important once again.

so this begs the question: if gasp is (effectively) dead, cpp isn't
functional enough, and m4 is overblown, what does that leave for someone
who wants a macro assembler?  maybe it's time to dust off the gasp
sources?

-- 
  Aaron J. Grier  |   Frye Electronics, Tigard, OR   |  aaron@frye.com
     "In a few thousand years people will be scratching their heads
       wondering how on earth the first computer was invented and
          bootstrapped without a prior computer to do it with."
                    --  Chris Malcolm, on comp.arch


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