I have played around with compiling a JUCE command-line application on FreeBSD in the last couple of days. I managed to compile
juce_data_structures, with only some minor changes.
I created a Projucer project on Linux and copied the Source/ & JuceLibraryCode/ to the BSD machine. After applying my patch to the JUCE code, the compilation of a static library works without any problems. I’m currently using CMake to build things, but I’m stuck on multiple link errors when trying to create the executable (CMake finds the includes during compilation but not the libraries for linking). I will try with manually building things sometime this week.
I’ll post updates.