[Info-vax] C and C++ and clanger-free clanging
Dave Froble
davef at tsoft-inc.com
Thu Jul 4 18:13:27 EDT 2019
On 7/4/2019 5:00 PM, Stephen Hoffman wrote:
> On 2019-07-04 14:50:09 +0000, Dave Froble said:
>
>> Well, where else would one reasonably put such?
>
> Where else? On OpenVMS, in the build procedures.
>
> That's fairly common, too.
If you lose the build procedure, then what? Lots of work to figure out
what's required.
I guess to be fair, one could also lose the source code, but then you're
not so worried about how to compile the code, huh?
> Either a procedure written in DCL that builds the specific source file
> or specific executable, or the whole show.
>
> Or if not in DCL, as some of the data invoked by one or more of the
> various make tools; mms/mmk/gmake/etc.
>
> On other platforms, the settings can be stored in the project database
> file that's used to build the whole project.
>
> Which is really handy in various ways, and can sometimes be very opaque
> in other cases.
>
> Or there's the ever-popular forest of logical names. 🙄
Please not!
>> Different programs may have different needs, and should those
>> re-compiling the programs have to remember how to do so? Much better
>> to just place the requirements inside the programs.
>>
>> Maybe some day C and such will learn how to do so?
>>
>> Nah, I'm just dreaming ....
>>
>> PS - and don't tell me it already can, I just don't care ...
>
> Embedding the settings directly into the source code tends to be
> somewhat brittle.
How so? The settings are for the particular source code, right? What
could be better than keeping them together?
> Works well, right up until you're dealing with architecture-specific or
> build-specific or version-specific switches/controls/settings/qualifiers.
Guess I don't get out much. None of that makes any sense to me.
> I've used the C preprocessor to build Fortran code, as have various
> other folks.
Nor does that make sense to me.
--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef at tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486
More information about the Info-vax
mailing list