TIP: Click on subject to list as thread! ANSI
echo: golded
to: Karel Kral
from: Vitaliy Aksyonov
date: 2024-05-22 09:17:00
subject: Re: arm, static

Hello Karel.

22 May 24 12:04, you wrote to me:

 VA>> Should be possible. It only uses ncurses and some C/C++ specific
 VA>> libraries. You may link it with static ncurses.

 VA>> Why do you need static linkage though?

 KK> Because I am using Golded on some Embeded linux (= I need to translate
 KK> it somewhere else). It produced gedlnx (in bin/), I copied it there -
 KK> and now is asking for libncurses.so.6. Last time I had to collect
 KK> several libraries like libfontenc, libncurses, libtinfo, etc. = I
 KK> wanted to have just one executable.

 KK> Googling arround, something like:

 KK> gcc program.o -llib1 -Wl,-Bstatic -llib2 -Wl,-Bdynamic -llib3

Yes, you need static version of ncurses and modify makefiles.

 KK>>> 2) the latest did not produce gnlx (nodelist) binary. It is some
 KK>>> bug or issue on my side?

 VA>> If you use cmake - it will produce binary _golded_, not _gedlnx_.

 KK> I got gedlnx. Wondering where to get gnlx then.

If you looking for nodelist compiler it's gnlnx, not gnlx. Shall be next to gedlnx. Maybe build failed, look for errors in build output.

Vitaliy

... 640K ought to be enough for anybody
--- GoldED+/LNX 1.1.5-b20240305-beta
                                                         
* Origin: Aurora, Colorado (1:104/117)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.