Re: Possible new switch

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Possible new switch

Ed Tomlinson
-----BEGIN PGP SIGNED MESSAGE-----

On Thu, 1 Jan 1998 19:39:50 -0600 (CST), Chad Slaughter wrote:

>Yes, I am making that assumption.  I don't see why you'd being compiling
>a whole set of files at the same time that are not related and need to
>go in to several separate directories.  Also, I know of no compiler(but that's
>not really saying much) that gives you the option to specify a separate
>output directory for each file you pass it.  I do know IDEs which allow you
>to do this.

This question came up in reference to wingeditor...

> But we're taking about a compiler and not a IDE, which is
>why I think the environment variables is the best route, as it allows
>for a script to be written(or modify the current one) to handle
>different output options on the command line and then the script
>can call the compiler and change the environment variables as needed.

There are not too many compilers that do the type of things that nrc can
do in one command...  In anycase its possible for both of us to be happy
if the environment variable(s) point to the base of a tree.  Then the
output would be the same relative path as the source.

luck,


Ed Tomlinson ([hidden email])
Montreal, Canada

To obtain my public key mail me with a subject of: PGP Key
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv

iQEVAwUBNKxLtTaYyP7siYcJAQGzsAf/aG8cCO2Opoif/SKZbEOp4xZaQKFDSHko
TdanFbu1SYoeNyKjhcuI72JbS+q3aAkHP55eSi5I4Jt9+PzCpBDuCzHLSalPvw2s
umixjUCmlKOwMwfdfAVMNrlAzHmT/wdSGjcRbVN0nBR89mju/XHvANnna6RzRn6V
FDgjVljjhFzI6Gwi/Atd7SZ6RBN9OkfE5n76i16DEjbC3PBah4KTxMssGorWfWyW
4KPOOey1xTmBKX+xq0Uy1AW6DNIEFKgHC8cEWA8jE0GSWw9T7EeqqHQk5XmbCQsW
IYEBwwvE8+uvfqcdI/I+ECAn3JIpYva5X+u5jp4EHLauvq//x2Xvfw==
=kTvJ
-----END PGP SIGNATURE-----


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>

Reply | Threaded
Open this post in threaded view
|

Re: Possible new switch

Chad Slaughter
Ed Tomlinson wrote :>

>On Thu, 1 Jan 1998 19:39:50 -0600 (CST), Chad Slaughter wrote:

>>Yes, I am making that assumption.  I don't see why you'd being compiling
>>a whole set of files at the same time that are not related and need to
>>go in to several separate directories.  Also, I know of no compiler(but that's
>>not really saying much) that gives you the option to specify a separate
>>output directory for each file you pass it.  I do know IDEs which allow you
>>to do this.

>This question came up in reference to wingeditor...

Then I am obviously confused as to what people are wanting then.
If the problem is with wingeditor, why not talk to the ppl at wingeditor to
allow for seperate output directories???  But that isn't direclty relevent
to netrexx.

>> But we're taking about a compiler and not a IDE, which is
>>why I think the environment variables is the best route, as it allows
>>for a script to be written(or modify the current one) to handle
>>different output options on the command line and then the script
>>can call the compiler and change the environment variables as needed.

>There are not too many compilers that do the type of things that nrc can
>do in one command...  In anycase its possible for both of us to be happy
>if the environment variable(s) point to the base of a tree.  Then the
>output would be the same relative path as the source.

Well, the only thing that the nrc script can do that most compiles can't is to run
the final output.  But that is handled in the Rexx script, and not in the
netrexx translator.  What is being asked for a change in the output directories
which effects the translator and Rexx script.

What I proposed was to add two variables that the translator can use when
writing out temp and final files.  Then the Rexx script could be  custom
modifed to allow for whatever type of command line switches that you want.
(ie seperate output directories per file, a base directory, etc )
 
Later,

--
Chad Slaughter  -- [hidden email]
<PGP public key available upon request>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>