mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-06 23:02:28 +01:00
Replaced many <code>abc</code>' to abc`.
Reverted a few `text with < and so on` to <code>text with < and so on</code> due to a potential issue in wikitext parser. git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1592 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
[[Property:title|Batch compilation]]
|
||||
[[Property:weight|2]]
|
||||
[[Property:uuid|18958db6-dafc-57b7-cdef-aca01bc13661]]
|
||||
In order to launch a compilation without user intervention you need to specify the `<code>-batch</code>' switch in the '''ec''' command line, otherwise the Eiffel compilation will be blocked. We will present below a typical example of batch processing on both Unix and Windows platforms where we want to compile a project in both frozen and finalized mode, then to launch the C compilations. At the same time we want to save the output of '''ec''' and the C compilations.
|
||||
In order to launch a compilation without user intervention you need to specify the `-batch` switch in the '''ec''' command line, otherwise the Eiffel compilation will be blocked. We will present below a typical example of batch processing on both Unix and Windows platforms where we want to compile a project in both frozen and finalized mode, then to launch the C compilations. At the same time we want to save the output of '''ec''' and the C compilations.
|
||||
|
||||
===Unix===
|
||||
In a file called `launch_ec' you can have the following:
|
||||
@@ -21,7 +21,7 @@ cd EIFGENs/target_name/W_code
|
||||
finish_freezing > $output_file</code>
|
||||
|
||||
|
||||
It will go the directory where your project is located and compile your Eiffel code using the `<code>config.ecf</code>' file located in your project directory and compile automatically the C code. All outputs will be stored in the file `<code>/output_path/OUTPUT</code>'.
|
||||
It will go the directory where your project is located and compile your Eiffel code using the `config.ecf` file located in your project directory and compile automatically the C code. All outputs will be stored in the file `/output_path/OUTPUT`.
|
||||
|
||||
{{note|All output from '''ec''' are going to the error output, so do not forget to redirect the error output when you want to see the result. }}
|
||||
|
||||
@@ -37,7 +37,7 @@ cd EIFGENs\target_name\W_code
|
||||
finish_freezing > c:\output_path\OUTPUT</code>
|
||||
|
||||
|
||||
It will go the directory where your project is located and compile your Eiffel code using the `<code>config.ecf</code>' file located in your project directory and compile automatically the C code. All outputs will be stored in the file `<code>c:\output_path/OUTPUT</code>'.
|
||||
It will go the directory where your project is located and compile your Eiffel code using the `config.ecf` file located in your project directory and compile automatically the C code. All outputs will be stored in the file `c:\output_path/OUTPUT`.
|
||||
|
||||
{{seealso|<br/>
|
||||
[[EiffelStudio: Using command line options|Using command line compiler options]] }}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
[[Property:weight|4]]
|
||||
[[Property:uuid|be1dc034-2bca-3d3a-5dfc-8597b2cc7051]]
|
||||
[[Image:advanced-options|Advanced dialog]]
|
||||
* Address Expression: lets you pass `<code>$(s.to_c)</code>' to a feature instead of declaring `<code>a</code>' of type <code>ANY</code>, and then assigning `<code>s.to_c</code>' to `<code>a</code>' and passing `<code>$a</code>'.
|
||||
* Address Expression: lets you pass `$(s.to_c)` to a feature instead of declaring `a` of type <code>ANY</code>, and then assigning `s.to_c` to `a` and passing `$a`.
|
||||
{{Caution|Turn this option on only if you have advanced knowledge of the garbage collector internals, because using this syntax in some situations could lead to bugs that are very hard to trace. }}
|
||||
* Automatic Backup: generate a backup of the class and configuration files during recompilation?
|
||||
* Check VAPE: Enforce <code> VAPE </code> validity constraint: lets you disable type checking for <code> VAPE </code> errors in preconditions, which correspond to insufficiently exported features used in preconditions (ETL 2nd edition page 122).
|
||||
|
||||
Reference in New Issue
Block a user