I am experimenting with the endian conversion
feature in the Intel Fortran compiler V7.0.
If I set the F_UFMTENDIAN environmental variable
from the shell to convert unit 10 (say), and then
run a short program to write a few values to a file
unformatted, I can see that the bytes are swapped.
I am trying to get the same effect, but entirely with
a program. I have a small C wrapper routine which
I have used in the past to call C's getenv() routine.
I tried doing a getenv() call just before the open
to the file I want to convert, but the file's contents
are not byte swapped.
Is this possible, or is the F_UFMTENDIAN envar
only looked at once when my program starts up?
John Faricelli
Setting F_UFMTENDIAN envar from within program doesn't invoke conversion
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione


