Opened 7 years ago

Closed 7 years ago

#133 closed defect (invalid)

VAC308 resets LIB entry

Reported by: Yuri Dario Owned by:
Priority: major Milestone:
Component: kBuild Version:
Keywords: Cc:

Description

The VAC308 template is resetting the LIB variable, thus the linker is unable to find default libraries. Suggested patch:

--- VAC308.kmk;2	2015-12-17 16:40:00.000000000 +0100
+++ VAC308.kmk	2017-01-05 15:45:58.000000000 +0100
@@ -66,7 +66,7 @@
  TOOL_VAC308_ENV_SETUP ?= $(REDIRECT) \
 	-E 'BEGINLIBPATH=$(PATH_TOOL_VAC308_DLL);$(BEGINLIBPATH)' \
 	-E 'DPATH=$(PATH_TOOL_VAC308_LOCALE);$(PATH_TOOL_VAC308_HELP);$(DPATH)' \
-	-E 'LIB=' \
+	-E 'LIB=$(PATH_TOOL_VAC308_LIB)' \
 	-E 'INCLUDE=' \
 	--
  TOOL_VAC308_CC  ?= $(PATH_TOOL_VAC308_BIN)/icc$(HOSTSUFF_EXE)

Change History (1)

comment:1 Changed 7 years ago by bird

Resolution: invalid
Status: newclosed

If you want to use default libraries, you must add PATH_TOOL_VAC308_LIB to the _LIBPATH property of the template or target. Not everyone (e.g. me) wishes to use have default libraries involved.

Also make sure you use r3023 or later.

Note: See TracTickets for help on using tickets.