home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 2001 
 andrew clarke to Sean Dennis 
 Compiling GoldEd+ under FreeBSD 
 05 Feb 23 14:42:22 
 
REPLY: 1:18/200@fidonet 63c316c8
MSGID: 3:633/267 63df283b
CHRS: LATIN-1 2
TZUTC: 1100
TID: hpt/fbsd 1.9.0-cur 2021-04-15
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)
SEEN-BY: 1/123 15/0 18/200 90/1 105/81 106/201 120/340 123/131 129/305
SEEN-BY: 153/7715 218/700 226/30 227/114 229/110 111 112 113 114 206
SEEN-BY: 229/307 317 400 424 426 428 452 470 664 700 266/512 280/464
SEEN-BY: 282/1038 292/854 301/1 317/3 320/219 322/757 342/200 396/45
SEEN-BY: 460/58 633/267 280 712/620 848 770/1 5080/102
PATH: 633/267 712/848 229/426


<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca