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)? > > Thanks
You can't. Things generally won't work. Current uses clang on i386 and amd64. And that's wildly incompatible with gcc 4.2 or 4.9...