1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Solved: Why Linux Programs Are so Big?

Discussion in 'Linux and Unix' started by CVDpr, Jan 21, 2006.

Thread Status:
Not open for further replies.
  1. CVDpr

    CVDpr Thread Starter

    Feb 23, 2005
    Damn... :eek:

    Why the linux Programs are so big compared to windows ,What is the difference?

    Linux=17mb , Windows=6.08mb

    Linux=13mb , Windows=4.98mb

    Linux=6.5mb , Windows=3.60mb

    ect... ect...
  2. brendandonhu


    Jul 8, 2002
    Firefox for linux is 8MB and Opera Linux is 4MB :confused:
  3. lotuseclat79


    Sep 12, 2003
    Hi CVDpr,

    Well, that all depends, partly on the compiler, also on whether the programs werer compiled to optimize space or optimize performance (run faster). From an architectural perspective, traditionally, on CICS chip platforms, generally speaking, the executables will be smaller than the same code compiled with the same switches on a RISC chip machine, e.g. Intel vs Sparc. However, with newer designs in hardware these days usually the newer chips enjoy the advantages of a super-scalar architecture (i.e. the best of both CICS and RISC), so mostly, it may depend on the compiler, e.g. gcc or g++ vs Microsoft Visual C and Visual Studio C++.

    Another factor is how the code uses the target architecture or not (its all in the header files). One can imagine code highly optimized for a specific OS that bloats on another OS due to the differences in the target architecture.

    Also, optimizers have usually been traditionally a buggy part of the compiler, so if there are known bugs, the code may be compiled without optimization which would explain why some code is larger (unoptimized) than not.

    This brings to mind an important distinction about the Gnu technology. Most folks think of it as highly portable - NOT so! The code gets passed through the target header files and macros that are target dependent are expanded BEFORE the compiler phase. This fact makes the Gnu technology, NOT portable, but Mutable!

    -- Tom
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/436147

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice