Why is the exe so big?
-
Lord Apocalypse
- Regular

- Posts: 678
- Joined: 29 Jul 2009, 18:01
Why is the exe so big?
Just noticed this after compiling the release binary. I don't get why its 68mb compared to what I compiled at 3mb. Are the releases built in debug mode?
-
cybersphinx
- Inactive

- Posts: 1695
- Joined: 01 Sep 2006, 19:17
Re: Why is the exe so big?
The releases are statically linked.
We want information... information... information.
-
Lord Apocalypse
- Regular

- Posts: 678
- Joined: 29 Jul 2009, 18:01
Re: Why is the exe so big?
even so it shouldn't be THAT large
-
vexed
- Inactive

- Posts: 2538
- Joined: 27 Jul 2010, 02:07
Re: Why is the exe so big?
They also contain debug info so the crash handler can give meaningful output.
/facepalm ...Grinch stole Warzone

contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
Super busy, don't expect a timely reply back.
-
Lord Apocalypse
- Regular

- Posts: 678
- Joined: 29 Jul 2009, 18:01
Re: Why is the exe so big?
Please tell me that will eventually get stripped out 
-
Lord Apocalypse
- Regular

- Posts: 678
- Joined: 29 Jul 2009, 18:01
Re: Why is the exe so big?
On another note, what preprocessor directive does that require and what extra libs if any?
-
vexed
- Inactive

- Posts: 2538
- Joined: 27 Jul 2010, 02:07
Re: Why is the exe so big?
You can have release builds + debug info, I don't recall the switch to do that though.
No extra libs needed.
And no, it won't get stripped out, since we want the crash handler to have good crash dumps, that is easy to parse.
No extra libs needed.
And no, it won't get stripped out, since we want the crash handler to have good crash dumps, that is easy to parse.
/facepalm ...Grinch stole Warzone

contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
Super busy, don't expect a timely reply back.
-
Lord Apocalypse
- Regular

- Posts: 678
- Joined: 29 Jul 2009, 18:01
Re: Why is the exe so big?
The VC10 solution includes _debug so that could be it.. but even compiling a debug build the total exe size was 5mb.. Odd that it can go that high, will change more libs to static and check how the crosscopile is handled to see whats inflating it.