インテル® Fortran コンパイラー 16.0 ユーザー・リファレンス・ガイド
Some compiler directives and compiler options have the same effect, as shown in the table below. However, compiler directives can be turned on and off throughout a program, while compiler options remain in effect for the whole compilation unless overridden by a compiler directive.
The following table shows compiler directives and equivalent command-line compiler options:
Compiler Directive |
Equivalent Command-Line Compiler Option |
---|---|
DECLARE |
-warn declarations (Linux* OS and OS X*) /warn:declarations (Windows* OS) |
NODECLARE |
-warn nodeclarations (Linux OS and OS X) /warn:nodeclarations (Windows OS) |
DEFINE name |
-Dname (Linux OS and OS X) /Dname (Windows OS) |
FIXEDFORMLINESIZE:length |
-extend-source [size] (Linux OS and OS X) /extend-source[:size] (Windows OS) |
FREEFORM |
-free or -nofixed (Linux OS and OS X) /free or /nofixed (Windows OS) |
NOFREEFORM |
-nofree or -fixed (Linux OS and OS X) /nofree or /fixed (Windows OS) |
INTEGER:size |
-integer_sizesize (Linux OS and OS X) /integer_size:size (Windows OS) |
OBJCOMMENT |
/libdir:user (Windows OS) |
OPTIMIZE[: n ] |
-On (Linux OS and OS X) /On (Windows OS) |
NOOPTIMIZE |
-O0 (Linux OS and OS X) /Od (Windows OS) |
PACK:alignment |
-align recnbytes (Linux OS and OS X) /align:recnbytes (Windows OS) |
REAL:size |
-real-sizesize (Linux OS and OS X) /real-size:size (Windows) |
STRICT |
-warn stderrors with -stand f03 (Linux OS and OS X) /warn:stderrors with /stand:f03 (Windows) |
NOSTRICT |
-warn nostderrors (Linux OS and OS X) /warn:nostderrors (Windows OS) |