1. You can built it with whatever optimization flags you want. I just have debug stuff on because the performance of that code doesn't affect overall performance and I want debug info. If you want it to be smaller then go ahead.
2. Terra doesn't fully work on 32 bit machines (there is some calling convension stuff in LLVM that must be implemented). So I have never officially supported it or added debug support. I do plan to get to it and its debugging support eventually, but I'll probably get to 32-bit ARM before 32-bit x86. 3. I don't know how to do that on OSX or windows. If you figure it out let me know, as I will probably repackage libterra.a that way by default. -- Zach On Sun, Jun 7, 2015 at 2:09 PM, Cosmin Apreutesei < [email protected]> wrote: > Hi, > > I'm trying to package terra for luapower, and I have a few > build-related questions. > > > > 2. I'm building terra for 32bit linux/osx/mingw but there's no tdebug > support for 32bit. I'm not sure exactly how bad this is for developing > in practice because I haven't written much terra code yet :) Is this > support planned? How bad is dev'ing without it? I noticed that it's > missing on ARM too... I could add it myself of course but it's an area > where I don't have much experience with so I wanted to ask first. > > 3. I'd like to bundle LLVM+needs-parts-of-Clang into libterra.a so > that static app builds can be made with simply -lterra as opposed to > `-lterra path-to/llvm-config --libfiles`. This is easy with the > archiver on Linux and mingw but couldn't figure it out for OSX. Any > hints on that? > > (I might have more questions in the future so I hope you'll bear with > me for a while) > > Thanks, > Cosmin. > _______________________________________________ > terralang mailing list > [email protected] > https://mailman.stanford.edu/mailman/listinfo/terralang >
_______________________________________________ terralang mailing list [email protected] https://mailman.stanford.edu/mailman/listinfo/terralang
