Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28984 Discussions

Stream/Pipe code into Fortran compiler?

gdirwin
Beginner
428 Views
I have an application which requires encryption... My program generates Fortran code, then calls the Fortran compiler (via nmake), links to other libraries I have written, generates an executable, then runs the executable (and communicates with it over a TCP socket).

The weak point is that the Fortran code is visible before its get compiled.

Is it possible to stream or pipe code into the Fortran compiler (so that it never has to reside as a file on a hard drive)?

If so I would get my program to pipe the code to the compiler, and it would dump out a binary.

Any ideas? Thanks!
0 Kudos
1 Reply
Steven_L_Intel1
Employee
428 Views
Sorry - our compilers don't support that today. I'll enter a feature request on your behalf. Maybe some sort of "RAM disk" which can be created on the fly (I think)? The source will be in the compiler's memory and thus the pagefile at some point.
0 Kudos
Reply