Search code examples
ocamloasis

Output assembly files with OASIS


Is there a way to keep the assembly files when building with OASIS?

I'm looking for something simpler than directly using ocamlopt -S.


Solution

  • Use NativeOpt field to specify this flag:

    Executable "prog"
      Path:           src
      MainIs:         main.ml
      Install:        true
      NativeOpt:      -S
      CompiledObject: best