General TC > General TC Talk
Archive List
CentralWare:
--- Quote from: nick65go on April 17, 2025, 06:48:33 AM ---IMHO, I think 7-zip (ver 24.09) linux version, covers "everything". https://www.7-zip.org/download.html
--- End quote ---
I already have a completed builder for 7zip but honestly never looked at the final file size ???
Version: 24.09 Stable
Patched...
...compiling... (ding!)
Stripped (x86_64) looks to be about 3.5Mb - but even so... might be worth packing into the builder system!?
patrikg:
UPX that and you may make it even smaller :)
CentralWare:
--- Quote from: patrikg on April 17, 2025, 12:33:49 PM ---UPX that and you may make it even smaller :)
--- End quote ---
Last I knew, UPX isn't lossless. Any problems experienced in its use with 7Z and/or 7Z compiled with ASM injections?
Yes, I get about a 64% reduction in physical file size using -9 but I'm curious at what cost, if any.
Appreciate the ongoing communications!
Rich:
Hi CentralWare
Their github page is titled:
--- Quote ---UPX: the Ultimate Packer for eXecutables
--- End quote ---
If that's true, the compression must be lossless, otherwise the
executables would never execute again.
nick65go:
--- Quote from: CentralWare on April 17, 2025, 11:25:46 AM ---Stripped (x86_64) looks to be about 3.5Mb - but even so... might be worth packing into the builder system!?
--- End quote ---
I do not know how "others" compile/link/optimize (gcc 15?, llvm?), but their size is less than yours 3.5MB (not UPX-ed)
--- Code: ---[root@HP17 Arch]# du -h /usr/lib/7zip/7z
644K /usr/lib/7zip/7z
[root@HP17 Arch]# ls -al /usr/lib/7zip/7z
-rwxr-xr-x 1 root root 657704 Dec 25 16:53 /usr/lib/7zip/7z
[root@HP17 Arch]# ldd /usr/lib/7zip/7z
linux-vdso.so.1 (0x00007ffce31ec000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x000077a44aa00000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x000077a44ae26000)
libc.so.6 => /usr/lib/libc.so.6 (0x000077a44a80e000)
libm.so.6 => /usr/lib/libm.so.6 (0x000077a44ad2e000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x000077a44af13000)
--- End code ---
--- Code: ---HP17 [/home/Alpine]# du -h /usr/bin/7zz
1.7M /usr/bin/7zz
HP17 [/home/Alpine]# ls -al /usr/bin/7zz
-rwxr-xr-x 1 root root 1780088 Dec 25 20:02 /usr/bin/7zz
HP17 [/home/Alpine]# ldd /usr/bin/7zz
/lib/ld-musl-x86_64.so.1 (0x7ac413c8b000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x7ac413800000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x7ac4137d4000)
libc.musl-x86_64.so.1 => /lib/ld-musl-x86_64.so.1 (0x7ac413c8b000)
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version