Bug 33456 - Vendor extension: Use env. var. to set filename of preconnect unit
Summary: Vendor extension: Use env. var. to set filename of preconnect unit
Status: RESOLVED WONTFIX
Alias: None
Product: gcc
Classification: Unclassified
Component: fortran (show other bugs)
Version: 4.3.0
: P3 enhancement
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-17 18:13 UTC by Tobias Burnus
Modified: 2007-09-23 09:32 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Burnus 2007-09-17 18:13:04 UTC
Some vendors seemingly offer to set the filename of a pre-connected unit via an environment variable.

I'm not sure we need this, but some other compilers seem to have it and it is seemingly used:

http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/16d2c1d82a05edb4
Comment 1 kargls 2007-09-17 19:22:33 UTC
I would strongly discourage adding this feature.  A long time ago,
either Paul Brook or Steven Bosscher and I exchanged email about
the use of environmental variables to control various aspects of
gfortran.  In the end, I recall that we agreed a proliferation of
environmental variables could lead to a maintenance nightmare.

But, as usual if someone implements the feature, I won't stand in 
the way.
Comment 2 Francois-Xavier Coudert 2007-09-23 09:32:42 UTC
Tobias says "I'm not sure we need this", and Steve rightly points out that this was ruled out in the past. So, closing for now. (If the need arises, we should first discuss it on the list, IMHO.)