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

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)

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™.