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

How to specify a directory where to store the object files ?

FlyingHermes
New Contributor I
494 Views

Is there an option to specify a directory where the compiler should store the object files ?

I'm looking to something like "-module" but acting on object files.

Thanks

0 Kudos
1 Reply
Kevin_D_Intel
Employee
494 Views

No there's no such option on Linux. Unfortunately -o does not function like the Windows /object option which accepts a directory. It is my experience/understanding that you have to build the path into the -o argument on Linux while also naming the output file itself.

0 Kudos
Reply