Archived
This forum has been archived. Please start a new discussion on GitHub.
"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.
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.
0
Comments
-
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.0 -
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.0 -
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.0