Next: LLDS back-end compilation model options, Previous: Grades and grade components, Up: Compilation model options [Contents][Index]
--target c
(grades: none, reg, asm_fast, hlc)--csharp
, --target csharp
(grades: csharp)--java
, --target java
(grades: java)Specify the target language used for compilation: C, C# or Java. C means ANSI/ISO C, optionally with GNU C extensions (see below). Targets other than C imply ‘--high-level-code’.
--compile-to-c
--compile-to-C
An abbreviation for ‘--target c --target-code-only’. Generate C code in module.c, but do not invoke the C compiler to generate object code.
--csharp-only
An abbreviation for ‘--target csharp --target-code-only’. Generate C# code in module.cs, but do not invoke the C# compiler to produce CIL bytecode.
--java-only
An abbreviation for ‘--target java --target-code-only’. Generate Java code in module.java, but do not invoke the Java compiler to produce Java bytecode.