Subj : Re: arm, static
To   : Vitaliy Aksyonov
From : Karel Kral
Date : Thu May 23 2024 09:10 am

Hello Vitaliy!

22 May 24 09:17, you wrote to me:

KK>> gcc program.o -llib1 -Wl,-Bstatic -llib2 -Wl,-Bdynamic -llib3
VA> Yes, you need static version of ncurses and modify makefiles.

No luck so far. Tried to modify GNUmakef.def in the way:

"    ifeq ($(WIDE_NCURSES),1)
       LIBCURSES=-L/opt/csw/lib -lncursesw -Wl,-Bstatic
   else
       LIBCURSES=-L/opt/csw/lib -lncurses -Wl,-Bstatic
   endif
"
But did not help - still need libraries.

Copying then libraries. One by one.

Stuck now with libstdc++.so.6 (actually /usr/lib64/libstdc++.so.6.0.25)

starting program ends with error in it: "symbol __cxa_thread_atexit_impl, version GLIBC_2.18 not defined in file libc.so.6 with link time reference"

To make static build would help a lot.

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

Did make clean and make again (with changed def see above) and it solved by itself. Got gnlnx and rddtlnx afterwards.

Karel

--- GoldED+/LNX 1.1.5-b20240209
* Origin: Plast DATA (2:423/39)