In the last weeks I have been trying to make Julia compile under OpenBSD. So far I have solved a number of problems, but I'm struck with one of Julia's dependencies, libunwind (
https://github.com/pathscale/libunwind). The libunwind code is quite low-level, and it's full of #ifdef conditionals that determine which code to compile, depending on the operating system.
I am wondering if it might be better to put together a scrapped version of libunwind (let's call it "juliaunwind"). Such library should only implement those functions that are actually used by Julia. It would cover all the already-supported operating systems (Windows, OSX, Linux, FreeBSD), plus of course OpenBSD.
I am willing to try to implement such a library (I know C quite well), but I need some mentors that help me in this activity, mostly to explain me in detail the libunwind functions needed by Julia, and how Julia uses them.
What is your opinion about this? Do you have simpler alternatives, or suggestions?
Maurizio.