- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using ifort on the command line on Windows 10. Here are the relevant flags:
This will pre-process and compile myfile.f90 and emit myfile.obj:
ifort -fpp -compile-only -object:myfile.obj myfile.f90
This will pre-process myfile.f90 and emit the pre-processed file to stdout, but it will NOT emit myfile.obj:
ifort -fpp -E -compile-only -object:myfile.obj myfile.f90
Is there some combination of flags that will allow me to emit both the pre-processed file and the object file in a single invocation?
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page