Using gcc as a sort of scripting language.

Paul Smith psmith@gnu.org
Sat Dec 28 15:25:04 GMT 2024


On Sat, 2024-12-28 at 09:00 -0600, Paul Markfort via Gcc wrote:
> I realize that C is not a line oriented language and usually
> completely ignores line termination characters (so yes this is
> probably not a simple thing to do).

You probably really want this capability added to the preprocessor, not
the compiler.

That's much simpler and will meet your needs just as well.

-- 
Paul D. Smith <psmith@gnu.org>            Find some GNU Make tips at:
https://www.gnu.org                       http://make.mad-scientist.net
"Please remain calm...I may be mad, but I am a professional." --Mad
Scientist





More information about the Gcc mailing list