Solved

Size of an exe file

Posted on 2000-04-11
2
242 Views
Last Modified: 2010-04-15
On what all factors does the size of an exe file compiled in C depend upon?
How can we make an exe small in size?
0
Comment
Question by:prasanthpooyath
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 10

Accepted Solution

by:
rbr earned 50 total points
ID: 2706625
Size of code, size of static data, how intellegent your linker is.

Some linker links the whole library to your exe some only uses the modules needed by your programm. So a a small code could be linked to a large exe if the whole library is linked to it. Use DLLs (or elf libraries on unix) to make the exe small.
0
 
LVL 9

Expert Comment

by:Pacman
ID: 2711400
plus debug information on some compilers ...
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
The goal of this video is to provide viewers with basic examples to understand recursion in the C programming language.
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question