Subj : Compiling GoldEd+ under FreeBSD To : Sean Dennis From : andrew clarke Date : Sun Feb 05 2023 02:42 pm On 2023-01-30 15:54:18, Sean Dennis (1:18/200) wrote to All: SD> I'm running FreeBSD 13.1 and am trying to compile the GoldEd+ code from SD> the Git repo at https://github.com/golded-plus/golded-plus. This is how I build GoldED+ with CMake on FreeBSD 13.1-RELEASE: git clone https://github.com/golded-plus/golded-plus cd golded-plus cp -p golded3/mygolded.__h golded3/mygolded.h cmake -B workdir --install-prefix=$HOME/opt/golded . cmake --build workdir --parallel cmake --install workdir Clang outputs several harmless warnings as the GoldED code isn't 100% clean, but it builds OK. SD> Unfortunately, I'm not real experienced with using cmake and I am SD> getting this error: SD> === SD> In file included from SD> /opt/mbse/golded-plus/golded3/../goldlib/gall/gdefs.h:93: SD> /opt/mbse/golded-plus/golded3/../goldlib/gall/gcmpall.h:34:6: error: SD> Goldware Library requires -funsigned-char to operate properly SD> #error Goldware Library requires -funsigned-char to operate properly SD> === SD> I can't figure out how to set that flag properly. SD> I'm also getting several warnings but that's not an issue. SD> GED+ compiled fine before this month's quarterly pkg update so I figured SD> they upgraded something along the way. Presumably Ports GCC is now defaulting to -fsigned-char for some reason. I see you were able to resolve that in another message. SD> Using gcc: SD> gcc version 12.2.0 (FreeBSD Ports Collection) It's not necessary to build GoldED with GCC from Ports since it builds just fine with Clang 13.0 in FreeBSD base. --- GoldED+/BSD 1.1.5-b20220504 * Origin: Blizzard of Ozz, Melbourne, Victoria, Australia (3:633/267) .