asn1c 命令
asn1c -h
ASN.1 Compiler, v0.9.24
Copyright (c) 2003, 2004, 2005, 2006 Lev Walkin <vlm@lionet.info>
Usage: asn1c [options] file ...
Options:
-E Run only the ASN.1 parser and print out the tree
-F During -E operation, also perform tree fixing
-P Concatenate and print the compiled text
-R Restrict output (tables only, no support code)
-S <dir> Directory with support (skeleton?) files
(Default is "/usr/share/asn1c")
-X Generate and print the XML DTD
-Werror Treat warnings as errors; abort if any warning
-Wdebug-lexer Enable verbose debugging output from lexer
-Wdebug-fixer --//-- semantics processor
-Wdebug-compiler --//-- compiler
-fbless-SIZE Allow SIZE() constraint for INTEGER etc (non-std.)
-fcompound-names Disambiguate C's struct NAME's inside top-level types
-findirect-choice Compile members of CHOICE as indirect pointers
-fincludes-quoted Generate #includes in "double" instead of <angle> quotes
-fknown-extern-type=<name> Pretend the specified type is known
-fnative-types Use "long" instead of INTEGER_t whenever possible, etc.
-fno-constraints Do not generate constraint checking code
-fno-include-deps Do not generate courtesy #includes for dependencies
-funnamed-unions Enable unnamed unions in structures
-fskeletons-copy Force copying the support files
-gen-PER Generate PER support code
-pdu={all|auto|Type} Generate PDU table (discover PDUs automatically)
-print-class-matrix Print out the collected object class matrix (debug)
-print-constraints Explain subtype constraints (debug)
-print-lines Generate "-- #line" comments in -E output*博客內(nèi)容為網(wǎng)友個人發(fā)布,僅代表博主個人觀點,如有侵權(quán)請聯(lián)系工作人員刪除。

