Print this page
11461 should use a native link-editor during the build
11463 SUNWonld has passed its use-by date
11464 cmd/sgs/tools should contain tools, not common code
11465 sgsmsg should be built with the rest of the build tools
@@ -848,10 +848,11 @@
$(__SUNC)PRIMARY_CCC= studio12,$(SPRO_VROOT)/bin/CC,sun
CW_CC_COMPILERS= $(PRIMARY_CC:%=--primary %) $(SHADOW_CCS:%=--shadow %)
CW_CCC_COMPILERS= $(PRIMARY_CCC:%=--primary %) $(SHADOW_CCCS:%=--shadow %)
+CW_LINKER= --linker $(LD)
# Till SS12u1 formally becomes the NV CBE, LINT is hard
# coded to be picked up from the $SPRO_ROOT/sunstudio12.1/
# location. Impacted variables are sparc_LINT, sparcv9_LINT,
# i386_LINT, amd64_LINT.
@@ -861,14 +862,14 @@
# Specify platform compiler versions for languages
# that we use (currently only c and c++).
#
CW= $(ONBLD_TOOLS)/bin/$(MACH)/cw
-BUILD_CC= $(CW) $(CW_CC_COMPILERS) --
-BUILD_CCC= $(CW) -C $(CW_CCC_COMPILERS) --
+BUILD_CC= $(CW) $(CW_LINKER) $(CW_CC_COMPILERS) --
+BUILD_CCC= $(CW) -C $(CW_LINKER) $(CW_CCC_COMPILERS) --
BUILD_CPP= /usr/ccs/lib/cpp
-BUILD_LD= /usr/ccs/bin/ld
+BUILD_LD= $(ONBLD_TOOLS)/bin/$(MACH)/ld
BUILD_LINT= $(SPRO_ROOT)/sunstudio12.1/bin/lint
$(MACH)_CC= $(BUILD_CC)
$(MACH)_CCC= $(BUILD_CCC)
$(MACH)_CPP= $(BUILD_CPP)