4 ms·
> what the hell exactly goes into the Chromium's PDB file that it barely fits on a DVD-ROM? Debug symbols in general tend to be very big. You need to be able t
by nwallin 4y ago
> what the hell exactly goes into the Chromium's PDB file that it barely fits on a DVD-ROM?
Debug symbols in general tend to be very big. You need to be able to map each instruction in the binary to a line of code. You can expect a compiler to break each line of code into several instructions, and you can also expect that the instructions are out of order and interleaved with neighboring lines of code. So each instruction will need its own unique entry.
> I am willing to bet that the executable and the source code combined together would take less space,
~ $ ll -h /var/cache/distfiles/chromium-110.0.5481.177.tar.xz
-rw-rw-r-- 1 portage portage 1.6G Feb 22 11:02 /var/cache/distfiles/chromium-110.0.5481.177.tar.xz
~ $ tar -xaf /var/cache/distfiles/chromium-110.0.5481.177.tar.xz
~ $ du -sh chromium-110.0.5481.177/
13G chromium-110.0.5481.177/
- Joker_vD 4y agoExcuse me? On Windows, "C:\Program Files (x86)\Google\Chrome" takes 603 MiB only — and it contains a 295 MiB file called "chrome.7z" inside an "Installer" subdirectory. What does Linux distribution contains that takes the rest of the space?
- nwallin 4y agoThat's not the Linux distribution, it's the source code. Straight from Google. https://commondatastorage.googleapis.com/chromium-browser-official/chromium-110.0.5481.177.tar.xz https://commondatastorage.googleapis.com/chromium-browser-of... The compiled binary is much smaller: ~ $ du -h /usr/lib64/chromium-browser 16K /usr/lib64/chromium-browser/MEIPreload 360K /usr/lib64/chromium-browser/locales 383M /usr/lib64/chromium-browser
- LanternLight83 4y agoLove the use of distfiles for an in the spot demonstration, makes me miss Gentoo. I suppose functional package-manager users have similar files in their stores. Thanks for sharing.