tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Building NetBSD without gcc
> It doesn't work.
Yes, it seems there was a whitespace issue when copying it from that
terminal. Try this:
--- /usr/share/mk/bsd.own.mk.old 2012-01-09 07:19:54.000000000 -0600
+++ /usr/share/mk/bsd.own.mk 2012-01-09 06:48:06.000000000 -0600
@@ -447,11 +447,11 @@
SUPPORTED_${_t}=${AVAILABLE_COMPILER:Nfalse:@.c.@ ${
!defined(UNSUPPORTED_COMPILER.${.c.}) && defined(TOOL_${_t}.${.c.}) :?
${.c.} : }@}
.endfor
# make bugs prevent moving this into the .for loop
-CC= ${TOOL_CC.${ACTIVE_CC}}
-CPP= ${TOOL_CPP.${ACTIVE_CPP}}
-CXX= ${TOOL_CXX.${ACTIVE_CXX}}
-FC= ${TOOL_FC.${ACTIVE_FC}}
-OBJC= ${TOOL_OBJC.${ACTIVE_OBJC}}
+CC?= ${TOOL_CC.${ACTIVE_CC}}
+CPP?= ${TOOL_CPP.${ACTIVE_CPP}}
+CXX?= ${TOOL_CXX.${ACTIVE_CXX}}
+FC?= ${TOOL_FC.${ACTIVE_FC}}
+OBJC?= ${TOOL_OBJC.${ACTIVE_OBJC}}
# OBJCOPY flags to create a.out binaries for old firmware
# shared among src/distrib and ${MACHINE}/conf/Makefile.${MACHINE}.inc
Home |
Main Index |
Thread Index |
Old Index