[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Welcome C++11!
From: |
John W. Eaton |
Subject: |
Re: Welcome C++11! |
Date: |
Thu, 13 Dec 2012 16:18:35 -0500 |
On 13-Dec-2012, Júlio Hoffimann wrote:
| Yes, i just did CXXFLAGS='-std=c++0x' hoping the other flags would be
| untouched.
No, the default values of CFLAGS and CXXFLAGS are -g -O2. If you set
them you replace those defaults. So you compiled without
optimization, which will likely make the binaries smaller because some
level of optimization is required in order for gcc to perform function
inlining. Octave has a lot of small functions that can be inlined.
If no functions are inlined, then the generated code is likely to be
smaller and also quite a bit slower.
| C++11 actually reduces the size of the binaries as shown here: http://
| www.youtube.com/watch?v=sajBj_eiH10&t=0m47s
|
| I still think it's a good adoption, my approach is the following: I don't care
| about ancient platforms when producing patches. Unless some user reports me
| the build failed, there is no reason to waste time thinking about old
| technology. Am i being too extreme?
Yes.
| If people really want GNU Octave for work in ancient Red Hat, they should
| support development or contact their sysadmin for installing a reasonable
| compiler.
I wish...
Not everyone who builds Octave wants to be forced to use the latest
version of GCC.
jwe
- Re: Welcome C++11!, (continued)
- 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, 2012/12/13
- Re: Welcome C++11!, Júlio Hoffimann, 2012/12/13
- Re: Welcome C++11!,
John W. Eaton <=
- 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