Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29285 Discussions

IFC 8.1, VC++ 2003 and environmental variables

orhun
Beginner
1,097 Views
Hi,

I am using environmental variables in my project settings for C++.
ie for Intermediate Directory
"$(PRJTMPDIR)$(ProjectName)_T$(ConfigurationName)"

$(ProjectName) and $(ConfigurationName) are variables defined by VC, but $(PRJTMPDIR) is an env. variable defined as "C:Development emp" on my machine.

The problem is if I do this in Fortran static lib project, instead reading the env. variable, it just creates the directories under the current project directory, and creates them with the variable name ie $(PRJTMPDIR).

I can understand if it can not to read the VC set variables but I would expect it to read the global env. variables.

Is there any other step that I should take to force the fortran compiler to use the env. variable values instead of their names?

Thanks.
0 Kudos
1 Reply
Steven_L_Intel1
Employee
1,097 Views
As far as I can tell from the MS documentation, what you're attempting to do isn't supposed to work. The $() syntax is documented as for "Development Environment Macros", not environment variables.
0 Kudos
Reply