e_dub has joined #crystal-lang
bcardiff has joined #crystal-lang
jhass|off has joined #crystal-lang
bcardiff has joined #crystal-lang
travis-ci has joined #crystal-lang
travis-ci has left #crystal-lang [#crystal-lang]
<travis-ci> [travis-ci] Build details : http://travis-ci.org/manastech/crystal/builds/25323094
<travis-ci> [travis-ci] manastech/crystal#1065 (master - 1590567 : Ary Borenszweig): The build passed.
waj has joined #crystal-lang
waj has joined #crystal-lang
CraigBuchek has joined #crystal-lang
waj has joined #crystal-lang
bcardiff has joined #crystal-lang
nekron has joined #crystal-lang
waj1 has joined #crystal-lang
e_dub has joined #crystal-lang
asterite has joined #crystal-lang
asterite has joined #crystal-lang
waj has joined #crystal-lang
waj has joined #crystal-lang
nekron1 has joined #crystal-lang
waj has joined #crystal-lang
waj1 has joined #crystal-lang
waj has joined #crystal-lang
Kurt_ has joined #crystal-lang
<Kurt_> Hey, I'm working through some of the wiki docs, specifically https://github.com/manastech/crystal/wiki/Introduction#hello-world , but I'm recieving the errors `Invalid option: -O3` and `Invalid option: -ll`. Is there something else I need to configure on my machine to use llvm compiler flags?
<drizz> Kurt_: bin/crystal hello.cr --llc "-O3" maybe
<drizz> or use --release when compiling, it implies -O3
e_dub has joined #crystal-lang
<Kurt_> That compiled :) but all that is generated is an executable. I'm not particularly familiar with the llvm and the description in that section lead me to believe this generates something human readable?
Liothen has joined #crystal-lang
Liothen has left #crystal-lang [#crystal-lang]
Liothen has joined #crystal-lang
drizz has joined #crystal-lang
asterite has joined #crystal-lang
<asterite> Hi @Kurt_
<asterite> I just saw your message. The wiki is outdated (maybe we should delete everything in it)
<asterite> There, I deleted those it, and also the “Developers” wiki, because they were really outdated and led more to confusion than explanation. I’ll try to write (and keep in sync) docs in the official site
<Kurt_> Awesome, that would be really helpful!
<asterite> For now you can read the samples and just try things out and expect things to work almost as they would in Ruby (there are some differences)
<asterite> To get to see what llvm a program produces, you can do —ll
<asterite> then in the directory .crystal you will find those .ll files
<asterite> another way is to compile it like this: DUMP=1 bin/crystal foo.cr —single-module
<asterite> that will output it to the standard output, but without optimizations
<asterite> it will be quite a lot of llvm code because there are some initializations in prelude.cr
bcardiff has joined #crystal-lang
Kurt_ has joined #crystal-lang