[Info-vax] Native compilers

Johnny Billquist bqt at softjar.se
Thu Feb 24 11:17:26 EST 2022


On 2022-02-24 16:18, Dave Froble wrote:
> On 2/24/2022 6:04 AM, Johnny Billquist wrote:
>> But I find it a bit annoying to have to remember to throw those things 
>> in on the
>> command line, so when possible, I use .include instead.
> 
> Well, yes, it would be annoying.  But if it was easy ...

:-)

> My practice, for many years, is to include build procedures with every 
> application, perhaps for a single program, or for many programs.  A 
> command file contains the procedure for compiling and linking the 
> program.  Thus, one doesn't need to remember, and the thing is self 
> documenting.

Isn't that what MMS is for? Or make under Unix. Heck, I even wrote my 
own make clone for RSX over 20 years ago, so whenever I want to do 
something more complex, I just use that. And sure, I can put all sort of 
complex stuff in there so I don't have to type it all the time.
That don't remove the fact that .include is useful, and helps.

There is a reason most languages do have a concept of including content 
from other files (Macro-32 excluded). Even though you could type it all 
in by hand, write scripts to automate things, and even have clever 
dependency checking which only rebuild things that actually needs 
rebuilding...

To be honest, I'm surprised by people who write their own scripts to 
rebuild anything when there are good tools around that helps you with 
that in better ways than simple scripting do.

   Johnny



More information about the Info-vax mailing list