Описание тега compiler-options
Compiler-options are parameters that are being passed to the compiler and that affect the compilation process or its resulting product.
Modern compilers have a large set of options that can be used to somehow change the way the code is compiled. Usually those options are passed as command-line flags.
Example for Java:
javac -target 1.5 -bootclasspath jdk1.5.0\lib\rt.jar \ -extdirs "" OldCode.java
More information about particular options can be found on compiler vendor's websites, to name a few:
- GCC compiler options
- MS compiler options
- Java 7 compiler options
- Clang's options are mostly compatible with the ones of GCC.