octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compile error in latest repository tip


From: Mike Miller
Subject: Re: Compile error in latest repository tip
Date: Thu, 3 Mar 2016 12:44:48 -0800
User-agent: Mutt/1.5.24 (2015-08-30)

On Thu, Mar 03, 2016 at 14:38:33 -0600, Daniel J Sebald wrote:
> [@ build7]# grep -E "^(CXX|CXXFLAGS|XTRA_CXXFLAGS) =" Makefile
> CXX = g++
> CXXFLAGS = -g -O2
> XTRA_CXXFLAGS =  -pthread -fopenmp

Hmm, there should be a -std=something in there. Can you check config.log
for tests relating to C++11 (or send the whole config.log to me)?

> I must have missed out on a discussion about compiler version.  g++ is the
> same as gcc installed, but the config.log shows
> 
> configure:6029: gcc --version >&5
> gcc (GCC) 4.5.1 20100924 (Red Hat 4.5.1-4)
> Copyright (C) 2010 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> so I'm guessing 5.0+ is needed.

I have definitely been able to build with gcc 4.4, there are some minor
nits to fix with gcc 4.6, maybe some different issue with 4.5.

Just curious, what distro are you on that you are using an old
development branch version of gcc? I know CentOS is 4.4 or 4.8, Ubuntu
is 4.6 or 4.8.

-- 
mike



reply via email to

[Prev in Thread] Current Thread [Next in Thread]