One of the things I've seen come up more than once now in attempting ports is that they bomb out for a missing -lm. It's my understanding the this refers to libm which is a math library. Is this included in one of Haiku's libraries? And is the workaround to include a Haiku library rather than -lm, and if so which one is it? -scottmc