I am using the option given in compiler user guide: --os:any --gc:arc -d:useMalloc. Several kB RAM is reserved for heap.
What are the differences between --os:any and --os:standalone? I can't find this information in the documents. For a simple project, the generated binary is about ~1kB if compiled with --os:standalone, but ~16kB if --os:any.
With following options, the generated binary is reduced significantly. I am happy with --gc:arc -d:useMalloc. Its footprint is so small.
define = "danger"
checks="off"
assertions="off"
stackTrace="off"
lineTrace="off"