tech-kern archive

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

Notes for building NetBSD on OS X 10.7.4



To any who may have had a problem building on OS X Lion.

As has been noted elsewhere, the latest Apple compiler that is installed with 
xcode 4.4.1, llvm-gcc-4.2.1 is no longer able to build NetBSD toolchain. 

Solution: install MacPorts gcc43 (gcc version 4.3.6 -/ MacPorts 4.3.6_3).

        Set in /etc/mk.conf file
                HOST_CC?=       gcc-mp-4.3
                HOST_CPP?=      gcc-mp-4.3

No need to set HOST_CXX as the llvm-g++-4.2.1 works fine.

You should now be good to go.

--
Frank Zerangue
frank.zerangue%gmail.com@localhost





Home | Main Index | Thread Index | Old Index