diff options
author | Tuncer Ayaz <[email protected]> | 2013-12-03 18:43:30 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-12-18 10:26:55 +0100 |
commit | 18315c1675d965e5d0210a560e4742c483fcfd7f (patch) | |
tree | 4e4df6bac52607dd21840498fff9256ab0e0607c /erts/doc | |
parent | 3ee4bd41cdebf355447571fc9cb10b4fe5132ad9 (diff) | |
download | otp-18315c1675d965e5d0210a560e4742c483fcfd7f.tar.gz otp-18315c1675d965e5d0210a560e4742c483fcfd7f.tar.bz2 otp-18315c1675d965e5d0210a560e4742c483fcfd7f.zip |
Officially support building assembler files
erlc is wired to treat *.S files as assembler and build them as
compile:file(File, [from_asm]), but this is not documented. There's also
a documented compile:file/2 option called 'asm' (mapping to 'from_asm'),
but the wording discourages its use. All of this has been in place and
in use for a long time. Therefore, it should be supported officially.
To fix that, make the following changes:
* document erlc handling of *.core files
* un-document 'asm' and document 'from_asm' instead
* deprecate 'asm'
While at it, fix a minor typo in the test suite.
Diffstat (limited to 'erts/doc')
-rw-r--r-- | erts/doc/src/erlc.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/erts/doc/src/erlc.xml b/erts/doc/src/erlc.xml index 10cab344b0..2df026aef5 100644 --- a/erts/doc/src/erlc.xml +++ b/erts/doc/src/erlc.xml @@ -234,6 +234,11 @@ erlc +export_all file.erl</pre> from the shell.</p> <p>Supported options: -I, -o, -D, -v, -W, -b.</p> </item> + <tag>.S</tag> + <item> + <p>Erlang assembler source code. It generates a <c><![CDATA[.beam]]></c> file.</p> + <p>Supported options: same as for .erl.</p> + </item> <tag>.yrl</tag> <item> <p>Yecc source code. It generates an <c><![CDATA[.erl]]></c> file.</p> |