title: How to compile a julia script?
body: <p>I have noticed that the version 0.4.* of julia has a <code>--compile</code> option.</p>
  
  <p>Strangely, I cannot find any documentation about it.</p>
  
  <p>I was trying (in Ubuntu), to compile a julia script to an executable LLVM bytecode file. But until here, I failed:</p>
  
  <pre><code>julia --compile=yes --output-bc test.bc test.jl
  Segmentation fault (core dumped)
  </code></pre>
  
  <p>I also can get this error message:</p>
  
  <pre><code>julia --compile=yes --output-bc test.bc test.jl
  ERROR: could not open file boot.jl
  </code></pre>
  
  <p>This error does not appear anymore, if I put a <code>boot.jl</code> file in the same folder.</p>
  
  <p>How should I do to compile a julia script to an executable/obfuscated bytecode ?</p>
  
  <p>Edit: FYI, my <code>test.jl</code> file contains only <code>print(123)</code></p>