Solved

Size of an exe file

Posted on 2000-04-11
2
240 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
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

Independent Software Vendors: 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

Suggested Solutions

Title # Comments Views Activity
undefined reference to `bswap_128' 9 186
Parsing XML instructions in Java/any other language.... 3 121
Computer slow / BSOD 10 70
Setting variables in a stored procedure 5 46
Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
Examines three attack vectors, specifically, the different types of malware used in malicious attacks, web application attacks, and finally, network based attacks.  Concludes by examining the means of securing and protecting critical systems and inf…
The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.

680 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