Re: Changing default compiler for usr/ports buiding

2017-08-02 Thread Stuart Henderson
What are you *actually* trying to do (end goal)? If what you actually need is "boost and c++11", your best bet is -current and clang. GCC is a dead end on OpenBSD for anything C++ that uses C++ libraries from X or packages. On 2017-08-01, Denis wrote: > Ok, but how to point cmake-3.5.2 to buil

Re: Changing default compiler for usr/ports buiding

2017-08-01 Thread Denis
Ok, but how to point cmake-3.5.2 to build the needed "source" which using Boost 1.53 or higher libraries ver.? Boost 1.59.0 itself was downloaded from boost web site and builded from sources using gcc 4.9 already. Some patches have been installed. I have tried to point cmake-3.5.2 to Boost-1.59.0

Re: Changing default compiler for usr/ports buiding

2017-07-31 Thread Marc Espie
On Mon, Jul 31, 2017 at 05:47:59PM +0300, Denis wrote: > I'm trying to change default compiler to build some ports. > Tried to do it using bsd.port.mk and by system variables CXX=eg++ > CPP=egcc, but nothing changes while building a port. > > How can I force the default gcc 4.2 to egcc (gcc 4.9)?

Changing default compiler for usr/ports buiding

2017-07-31 Thread Denis
I'm trying to change default compiler to build some ports. Tried to do it using bsd.port.mk and by system variables CXX=eg++ CPP=egcc, but nothing changes while building a port. How can I force the default gcc 4.2 to egcc (gcc 4.9)? Thanks