This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: C/C++ Binaries double in size for gcc-4.8.5 compared to gcc-4.4.7
- From: Andrew Haley <aph at redhat dot com>
- To: Jonathan Wakely <jwakely dot gcc at gmail dot com>, Mason <slash dot tmp at free dot fr>
- Cc: shagun <shagun dot maheshwari at harman dot com>, GCC help <gcc-help at gcc dot gnu dot org>
- Date: Tue, 19 Sep 2017 13:23:07 +0100
- Subject: Re: C/C++ Binaries double in size for gcc-4.8.5 compared to gcc-4.4.7
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=aph at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com DAE21C0587E4
- References: <1505794033611-0.post@n8.nabble.com> <32f9b663-6377-27c3-18ff-e5f7b1152502@free.fr> <CAH6eHdQeQ4UNgbNBscGAjtzg7dKk1T1W0QkWS5uRmmK51VrOTg@mail.gmail.com>
On 19/09/17 12:57, Jonathan Wakely wrote:
>
> Yes, in the absence of any useful information, my guess is the
> increase is due to improved debug info in the newer GCC.
Quite possibly, which is solved in all of the Linux distros I know of
by using separate debuginfo. But we don't know if the OP even uses -g.
--
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671