[LLVMdev] Kaleidoscope doesn't work properly

Albert Graef Dr.Graef at t-online.de
Thu Sep 25 08:27:04 PDT 2008


Andrii Vasyliev wrote:
> I've compiled Kaleidoscope from "Adding JIT and Optimizer Support"  tutorial.
> Basically it works just fine but when I try to run extern'ed putchard
> function it aborts.
> Please, tell me what am I doing wrong?

Have you tried to link with -rdynamic (Linux-specific, not needed on OSX
or Windows)?

-- 
Dr. Albert Gr"af
Dept. of Music-Informatics, University of Mainz, Germany
Email:  Dr.Graef at t-online.de, ag at muwiinfa.geschichte.uni-mainz.de
WWW:    http://www.musikinformatik.uni-mainz.de/ag



More information about the llvm-dev mailing list