Next: , Previous: , Up: Grade options   [Contents][Index]


9.5.2 Target options


--target c (grades: ‘none’, ‘reg’, ‘asm_fast’, ‘hlc’)
--target csharp (grades: ‘csharp’)
--target java (grades: ‘java’)

Specify the target language: C, C# or Java. The default is C. Targets other than C imply ‘--high-level-code’ (see below).


--compile-to-c
--compile-to-C

An abbreviation for ‘--target c’ ‘-target-code-only’. Generate C code in module.c, but do not generate object code.


--java
--Java

An abbreviation for ‘--target java’.


--java-only
--Java-only

An abbreviation for ‘--target java’ ‘--target-code-only’. Generate Java code in module.java, but do not generate Java bytecode.


--csharp
--C#

An abbreviation for ‘--target csharp’.


--csharp-only
--C#-only

An abbreviation for ‘--target csharp’ ‘--target-code-only’. Generate C# code in module.cs, but do not generate CIL bytecode.