Home Help Center

"make" produces 1 GB directory

Hi.

This is on a Red Hat Linux 7.3 i686 system with gcc-2.96-113, glibc-2.2.5-43, STLport-4.5.3, and xerces-c-src_2_3_0.

Typing "make" compiles everything and produces a directory that is almost 1 GB in size. Many of the *.o files are bigger than 1 MB. Is this typical? It just seems so huge. Does using a more recent distro and compiler improves things?

Thanks.

Comments

  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    On my Redhat Linux 9.0 I get the following total size:

    florida:~/debug/ice$ du -sk .
    439092 .

    So it's less than half of what you have on your system. Note that this is with all the debug information. Without debug, it would be much less.
  • CatOneCatOne Member Bill LloydOrganization: --Project: --
    I see you are using GCC 2.96 (or a derivative). That compiler isn't the best. In fact, I'd say things even less complimentary.

    I'd suggest a newer (GCC 3.2 or later) compiler version.
  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    Also note that stlport, while being a great library, produces a lot of extra debug code if you use the debug version. The STL library that is included in GCC 3.2 is more compact.
Sign In or Register to comment.