This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

I have compiled the Engine with the following details:

Git commit: cfcb6e11f25adb13177ba08777263288a5ec6f61 (master, 07/21/2018)
OS: Kubuntu 18.04
Compiler: gcc 7.3.0 / llvm 6.0
Command: scons platform=x11 target=release_debug tools=yes -j 4

Unfortunately the compiled binary size is 139 mb. This is rather big compared to the 5.0.5 binary that is downloadable from the homepage.

Is someone else experiencing this issue too?

in Engine by (15 points)

why do you need a small binary?

1 Answer

0 votes
Best answer

Try to recompile with the following command:

scons platform=x11 target=release_debug tools=yes debug_symbols=no -j 4

Notice debug_symbols=no option that tells Scons not to include debug symbols which should result in a smaller executable, or add separate_debug_symbols=yes if you need them for debugging purposes I suppose.

You can disable some other stuff from the build by taking a look at the output of scons -h, I think you could turn off some modules that you don't actually need.

by (1,422 points)
selected by

Thx works great!

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.