source-sdk-2013 icon indicating copy to clipboard operation
source-sdk-2013 copied to clipboard

Compiling under Linux creates huge binaries

Open num-get opened this issue 9 months ago • 4 comments

Compiling TF2 under Ubuntu 24.04.2 LTS using the official podman instruction creates client.so and server.so with the total file size of 759.3 MB.

num-get avatar Mar 06 '25 09:03 num-get

Can confirm this happens for me too. KDE Neon Plasma.

Trico-Everfire avatar Mar 06 '25 14:03 Trico-Everfire

as a workaround you can manually strip these binaries using the strip command from GNU binutils would be something like strip -s client.so strip -S server.so (strips debug symbols only, remaining symbols can be used for SourceMod gamedata) if you're working on a singleplayer mod or don't want sourcemod support you can use the same -s option for server.so

conneath avatar Mar 08 '25 09:03 conneath

Compiling TF2 under Ubuntu 24.04.2 LTS using the official podman instruction creates client.so and server.so with the total file size of 759.3 MB.

Does this issue still occur under Sniper?

Mooshua avatar Mar 15 '25 00:03 Mooshua

According to the docs, the default call to buildallprojects should be intented to produce a release build. Can someone confirm this, anyway?

Adrianilloo avatar Mar 21 '25 01:03 Adrianilloo

According to the docs, the default call to buildallprojects should be intented to produce a release build. Can someone confirm this, anyway?

still produces binaries with debug symbols

nerdrogue avatar Mar 26 '25 14:03 nerdrogue