[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Welcome C++11!
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: Welcome C++11! |
Date: |
Thu, 13 Dec 2012 14:57:19 -0500 |
On 13 December 2012 14:55, Jordi Gutiérrez Hermoso <address@hidden> wrote:
> On 13 December 2012 14:52, Júlio Hoffimann <address@hidden> wrote:
>> C++11 | C++98
>> _______________________________________________________
>> not stripped | 19M liboctave.so.1.0.1 | 158M liboctave.so.1.0.1
>> stripped | 15M liboctave.so.1.0.1 | 16M liboctave.so.1.0.1
>>
>> Then the difference is not that huge.
>
> So what was the compiler and the flags? If somehow using C++11 makes
> debug symbols tiny, that would be very interesting.
Actually, never mind, I can guess: you compiled with ./configure
CXXFLAGS='--std=c++11 -O2', i.e. you removed the -g flag when
compiling, so you didn't compile in debug symbols. The default
CXXFLAGS are '-O2 -g', and that would account for the extra debug
symbols increasing the library size.
It's got nothing to do with C++03 producing giant binaries compared to
C++11. Am I correct?
- Jordi G. H.
- Re: Welcome C++11!, (continued)
- Re: Welcome C++11!, Jordi Gutiérrez Hermoso, 2012/12/13
- Re: Welcome C++11!, marco atzeri, 2012/12/13
- Re: Welcome C++11!, Júlio Hoffimann, 2012/12/13
- Re: Welcome C++11!, Jordi Gutiérrez Hermoso, 2012/12/13
- Re: Welcome C++11!, Júlio Hoffimann, 2012/12/13
- Re: Welcome C++11!, marco atzeri, 2012/12/13
- Re: Welcome C++11!, Júlio Hoffimann, 2012/12/13
- Re: Welcome C++11!, Jordi Gutiérrez Hermoso, 2012/12/13
- Re: Welcome C++11!, Júlio Hoffimann, 2012/12/13
- Re: Welcome C++11!, Jordi Gutiérrez Hermoso, 2012/12/13
- Re: Welcome C++11!,
Jordi Gutiérrez Hermoso <=
- Re: Welcome C++11!, Júlio Hoffimann, 2012/12/13
- Re: Welcome C++11!, John W. Eaton, 2012/12/13
- Re: Welcome C++11!, Thomas Weber, 2012/12/13
- Re: Welcome C++11!, Ed Meyer, 2012/12/13
- Re: Welcome C++11!, Júlio Hoffimann, 2012/12/13
- Re: Welcome C++11!, Ed Meyer, 2012/12/13
- Re: Welcome C++11!, Jordi Gutiérrez Hermoso, 2012/12/14
- Re: Welcome C++11!, Ed Meyer, 2012/12/14
- Re: Welcome C++11!, Ed Meyer, 2012/12/14
- Re: Welcome C++11!, Júlio Hoffimann, 2012/12/26