Well, colour me gobsmacked! With Victor's help, I quickly got Csound compiled under Linux, but my real hope was to get Haiku finally updated from Csound5. I copied the sources over into Haiku, and within half an hour or so, I have a running Csound 6.13!! Cmake 'just ran', and there were only some minor glitches in the make sequence. No Haiku audio or MIDI yet, but I hope they will plug back in fairly easily. As to the glitches, I was able to fix them by patching files in the build directory, but I'd rather fix them in the Cmake sequence, so they don't have to be done each time. I'm not really up on Cmake, so maybe I can get some pointers. The main problem was modules that wanted to link with '-lm', which Haiku doesn't use. I found the linker commands in 'link.txt' files in the relevant branch of the tree, but I can't see how they're created. I don't see any '-lm' references in the source tree. The only other problem that I can remember is that urandom uses 'O_RDONLY' but doesn't seem to have a relevant header file -- Haiku uses fcntl.h. I just patched the source; I assume the usual platform definitions still work, so I can make it conditional. -- Pete --