Topic: Does SF look up system variables properly?
SF MacOS version
When I use system variables that I have set to pathnames, such as $HOME, and $DISLIN, this seems not to work in all parts of Simply Fortran.
Although I'm not yet certain of this, here's what appears initially to be the case:
SF DOES see look up the strings in these variables whem I enter them in Project options>Compiler flags
eg -L$DISLIN -ldislin -L/Applications/OpenMotif21/libs -lXm
...but
it seems not to work when I enter them in Project options>File locations.
eg $DISLIN, $DISLIN/gf/Real64, and $HOME/DEV/IoWinLib/Modules64
It works to expand these to the full pathnames but not when I use the $ system variables as above.
I discovered this by looking in the Makefile. When trying to 'build' a project, I was getting errors about libraries not being found, so I examined the Makefile and was surprised to see error messages in there as well (surprised because I thought the Makefile was auto generated and then simply read, but it appears to receive error messages as well). Anyway, the Makefile showed me what was going wrong, which was helpful. I don't recall the exact error message but it was something about the pathnames it was trying to read, that contained system variables, not being found.
Is there something I am not doing correctly here?
Was it intended that SF should be able to look up system variables?
---
John