Custom Query (100 matches)
Results (1 - 3 of 100)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#37 | fixed | Add support for resource compiling to GCC3OMF | ||
Description |
The patch allows gcc 3.3.5 to compile also resource files. Index: kBuild/tools/GCC3OMF.kmk =================================================================== --- kBuild/tools/GCC3OMF.kmk (revision 1686) +++ kBuild/tools/GCC3OMF.kmk (working copy) @@ -34,6 +34,21 @@ TOOL_GCC3OMF := GCC v3 targeting OS/2 OMF. # Tool Specific Properties +ifndef PATH_TOOL_GCC3OMF + # YD I know this not the best, but I'm sure the committer will do it better :-) + PATH_TOOL_GCC3OMF := f:/dev/gcc061 + # if not found, we'll enter 'pathless' mode. +else + # Resolve any fancy stuff once and for all. + PATH_TOOL_GCC3OMF := $(PATH_TOOL_GCC3OMF) +endif +ifneq ($(PATH_TOOL_GCC3OMF),) + PATH_TOOL_GCC3OMF_BIN ?= $(PATH_TOOL_GCC3OMF)/bin + PATH_TOOL_GCC3OMF_LIB ?= $(PATH_TOOL_GCC3OMF)/lib + PATH_TOOL_GCC3OMF_INC ?= $(PATH_TOOL_GCC3OMF)/include +endif + +# Tool Specific Properties TOOL_GCC3OMF_CC ?= gcc$(HOSTSUFF_EXE) TOOL_GCC3OMF_CXX ?= g++$(HOSTSUFF_EXE) TOOL_GCC3OMF_AS ?= gcc$(HOSTSUFF_EXE) @@ -49,6 +64,7 @@ TOOL_GCC3OMF_LDFLAGS.sysmod ?= -nostdlib TOOL_GCC3OMF_LD_MAP ?= -Zmap=$(1) TOOL_GCC3OMF_LD_SYSMOD_MAP ?= -Zmap=$(1) +TOOL_GCC3OMF_RC ?= wrc$(HOSTSUFF_EXE) ifdef SLKRUNS TOOL_GCC3OMF_CC += -fmessage-length=0 @@ -85,7 +101,12 @@ TOOL_GCC3OMF_LDFLAGS.debug ?= -g TOOL_GCC3OMF_LDFLAGS.profile ?= -g +TOOL_GCC3OMF_RCOBJSUFF ?= .res +TOOL_GCC3OMF_RCINCS ?= $(PATH_TOOL_GCC3OMF_INC) +TOOL_GCC3OMF_IPFSUFF ?= .hlp + + ## Compile C source. # @param $(target) Normalized main target name. # @param $(source) Source filename (relative). @@ -197,6 +218,30 @@ endef +## Compile resource source. +# @param $(target) Normalized main target name. +# @param $(source) Source filename (relative). +# @param $(obj) Object file name. This shall be (re)created by the compilation. +# @param $(dep) Dependcy file. This shall be (re)created by the compilation. +# @param $(flags) Flags. +# @param $(defs) Definitions. No -D or something. +# @param $(incs) Includes. No -I or something. +# @param $(dirdep) Directory creation dependency. +# @param $(deps) Other dependencies. +# +# @param $(outbase) Output basename (full). Use this for list files and such. +# @param $(objsuff) Object suffix. +TOOL_GCC3OMF_COMPILE_RC_OUTPUT = +TOOL_GCC3OMF_COMPILE_RC_DEPEND = +TOOL_GCC3OMF_COMPILE_RC_DEPORD = +define TOOL_GCC3OMF_COMPILE_RC_CMDS + $(QUIET)$(TOOL_GCC3OMF_RC) -r \ + $(flags) $(addprefix -i, $(subst /,\\,$(incs))) $(addprefix -d, $(defs))\ + -fo$(obj)\ + $(subst /,\\,$(abspath $(source))) +endef + + ## Link library # @param $(target) Normalized main target name. # @param $(out) Library name. |
|||
#133 | invalid | VAC308 resets LIB entry | ||
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) |
|||
#66 | fixed | unneeded inclusion of sys/acl.h | ||
Description |
kmk needs sys/acl.h to build (included in: src/kmk/kmkbuiltin/mv.c) but actually acl functionality is only used in fastcopy(). In addition fastcopy is only compiled when CROSS_DEVICE_MOVE is defined. Initial patch credit goes to Christian Authmann (comment #2): http://bugs.gentoo.org/show_bug.cgi?id=236949 |
Note: See TracQuery
for help on using queries.