Nп/п : 28 из 30
 От   : Kai Richter                         2:240/77          05 июн 25 17:51:28
 К    : Alex Galiyev                                          05 июн 25 00:08:02
 Тема : sqpack doesn`t purge
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 2:240/77 684204b9
@REPLY: 1:129/14.1 683f25ee
@CHRS: LATIN-1 2
@TID: hpt/lnx 1.4.0-sta 09-04-05
Hello Alex!

03 Jun 25, Alex Galiyev wrote to Kai Richter:

 KR>> I can`t imagine that a W64 system have a problem with 214k.
 AG> This is not about the size, I suspect a trojan in there, can`t be such
 AG> a significant growth.

 I don`t know if the windows compiler can handle .dll vs static
builds for the fidonet software.

You can find the switch DYNLIBS in the huskymak.cfg of the huskybse module.

For my linux system i can compile with static or shared objects/libraries.

 These libs share objects (functions) for programs. To access the
squish msgbase there is a libsmapi.so on my system. Programms that read
and write to the squish msgbase, like hpt, htick or sqpack, use the
smapi functions in the libsmapi.so.

I found my old comparison of the static and dynamic method. For sqpack:

sqpack     24440   Jul  4  2023
sqpack    236992   Sep 24  2023

 The last one is the static build. All functions of the libsmapi.so
(and other .so libs) are included in the program itself.

Pro & Contra

 Dynamic builds: Small programs. Share functions in memory = less
memory usage. Library file version must match the programs need.

 Static builds: Bigger programs. Functions loaded per program =
increased memory usage. Program has all functions included and does not need
a matching library.

 Today i prefer static builds for fidonet software. Memory is no
longer a problem. But the compatibliliy if you need to move an ftn
installation to another system is going to be important. Especially if it`s a
more modern system, with a new compiler version that has improvements
that are not compatible with the old source code.

Regards

Kai

--- GoldED+/LNX 1.1.4.7
 * Origin:  Monobox  (2:240/77)
SEEN-BY: 50/109 103/705 104/117 124/5016 153/757
154/10 30 203/0 221/0 1 6
SEEN-BY: 240/77 1120 5411 5413 5824 5832 5853
5890 6309 263/1 280/464 5003
SEEN-BY: 280/5006 292/854 8125 301/1 113 310/31
320/219 335/364 341/66 234
SEEN-BY: 396/45 423/120 452/28 166 460/58 463/68
467/888 633/280 712/848
SEEN-BY: 770/1 2432/390 2454/119 5000/111 5010/352
5015/46 5020/400 715 828
SEEN-BY: 5020/846 848 1042 4441 12000 5030/49 1081
5053/51 5061/133 5075/128
SEEN-BY: 5083/444
@PATH: 240/77 5832 280/464 301/1 5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх