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

ifort switch to show ld invoke commands?

jkwi
Beginner
1,191 Views
Swear I used this once but can't find it now.
Is there an ifort switch to force showing it invoking ld() and all commands passed to ld()?

0 Kudos
3 Replies
jkwi
Beginner
1,191 Views
-v does most of the trick!

However, when fortcom is invoked there appear to be scripts read as in:
-mIPOPT_link_script_file=/tmp/ifortg6aJXdscript

But these are removed after ld() is invoked with a 'rm'. Any way to see these
files?
I tried -save-temps but that doesn't work.
0 Kudos
Ron_Green
Moderator
1,191 Views
just use -dryrun

this captures everything in the compilation and link steps, but does not do an actual compilation or link.
0 Kudos
TimP
Honored Contributor III
1,191 Views
Adding -# should show you what goes into the linker script during a live build.
0 Kudos
Reply