|
Well, it is wishful thinking, but it is also in the subject line:-) My comments weren't purely off of your paragraph. It would be great to be able to specify _all_ of my compile options in the source member. That would make tools like WDSc a lot easier to use because I don't have a lot of the same parms in each program I compile. Well maybe I have the same parms, but they have different values. Aaron Bartell -----Original Message----- From: Hans Boldt [mailto:boldt@xxxxxxxxxx] Sent: Tuesday, September 23, 2003 1:42 PM To: rpg400-l@xxxxxxxxxxxx Subject: Re: Egads! An area in which the precompiler people surpassed the compiler people! Bartell, Aaron L. (TC) wrote: > The word that jumps out at me is "precompiler". Would it be possible to > have a precompiler on the RPG side of things? Or maybe there already is one > - unless CRTRPGMOD is considered the precompiler. > > Aaron Bartell > > > .... Hans Wrote ... > I don't know how the SQL prep works, but generally, the RPG command > options that you can't code on the H-Spec are disallowed there > because we're already knee deep into the compile already. In > particular, when you specify a different release on the CRTBNDRPG or > CRTRPGMOD command, a completely different program is invoked to > compile the source code. Since the H-Spec's are compiled by that > source code, it's meaningless to specify which version to use on the > H-Spec. > > I suppose when the H-Spec parsing sees that a different compiler > version is requested, we could abandon the compile and tell the > command to invoke a different version of compiler. But then, how > would the compiler handle the following H-Specs: > > H/if defined(*V5R2M0) > H TGTRLS(*V5R1M0) > H/elseif defined(*V5R1M0) > H TGTRLS(*V5R2M0) > H/endif > H* ;-) > > Cheers! Hans > Aaron: Where did I mention the word "precompiler"? Or is that just some sort of wishful thinking on your part? Cheers! Hans _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.