Subject: What pre-processor to use with assembler code
To: None <jfw@jfwhome.funhouse.com>
From: Gordon W. Ross <gwr@mc.com>
List: current-users
Date: 02/06/1996 11:21:28
> Date: Mon, 05 Feb 1996 07:40:47 -0500
> From: "John F. Woods" <jfw@jfwhome.funhouse.com>
>
> > I get these, too. In locore.s and microtime.s, we have to either:
> > 1) eliminate all ' characters in assembler comments (start with #)
> > 2) convert all assembler comments to C-style comments.
>
> Or 3) stop pretending that the C preprocessor is a general purpose macro
> processor...
That's a good point. I've always liked using m4 as an assembler
pre-processor. Unfortunately, you can not just #include your C
header files that way. (i.e. sun3/locore.s gets trap.h that way)
Gordon