Changeset 811 for trunk/kBuild/tools/GCC3.kmk
- Timestamp:
- Jan 29, 2007, 7:20:50 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/GCC3.kmk
r782 r811 25 25 # 26 26 27 TOOL_GCC3 := Generic GCC v3.2.x or later Using The System GCC .27 TOOL_GCC3 := Generic GCC v3.2.x or later Using The System GCC and Binutils. 28 28 29 29 # Tool Specific Properties … … 31 31 TOOL_GCC3_CXX ?= g++$(HOSTSUFF_EXE) 32 32 TOOL_GCC3_AS ?= gcc$(HOSTSUFF_EXE) 33 TOOL_GCC3_AR ?= ar$(HOSTSUFF_EXE) 33 ifeq ($(BUILD_TARGET),solaris) ## @todo drop the MRI script! 34 TOOL_GCC3_AR ?= gar$(HOSTSUFF_EXE) 35 else 36 TOOL_GCC3_AR ?= ar$(HOSTSUFF_EXE) 37 endif 34 38 ifeq ($(BUILD_TARGET),os2) 35 TOOL_GCC3_AR_IMP ?= emximp$(HOSTSTUFF_EXE)36 else 37 TOOL_GCC3_AR_IMP ?= $(ECHO) not supported!39 TOOL_GCC3_AR_IMP ?= emximp$(HOSTSTUFF_EXE) 40 else 41 TOOL_GCC3_AR_IMP ?= $(ECHO) not supported! 38 42 endif 39 43 TOOL_GCC3_LD ?= g++$(HOSTSUFF_EXE) 40 44 TOOL_GCC3_LD_SYSMOD ?= ld$(HOSTSUFF_EXE) 41 45 ifndef TOOL_GCC3_LDFLAGS.$(BUILD_TARGET) 42 TOOL_GCC3_LDFLAGS.dll ?= -shared43 else 44 TOOL_GCC3_LDFLAGS.dll ?= $(TOOL_GCC3_LDFLAGS.$(BUILD_TARGET))46 TOOL_GCC3_LDFLAGS.dll ?= -shared 47 else 48 TOOL_GCC3_LDFLAGS.dll ?= $(TOOL_GCC3_LDFLAGS.$(BUILD_TARGET)) 45 49 endif 46 50 TOOL_GCC3_LDFLAGS.sysmod ?= -r 47 51 TOOL_GCC3_LD_SONAME ?= -Wl,-soname=$(firstword $($(1)_SONAME.$(BUILD_TARGET).$(BUILD_TYPE)) $($(1)_SONAME.$(BUILD_TARGET)) $($(1)_SONAME.$(BUILD_TYPE)) $($(1)_SONAME) $(notdir $(2))) 48 52 ifeq ($(BUILD_TARGET),os2) 49 TOOL_GCC3_LD_MAP ?= -Zmap=$(1) 50 TOOL_GCC3_LD_SYSMOD_MAP ?= -Zmap=$(1) 51 else 52 TOOL_GCC3_LD_MAP ?= -Wl,-Map -Wl,$(1) -Wl,--cref 53 TOOL_GCC3_LD_SYSMOD_MAP ?= -Map $(1) --cref 53 TOOL_GCC3_LD_MAP ?= -Zmap=$(1) 54 TOOL_GCC3_LD_SYSMOD_MAP ?= -Zmap=$(1) 54 55 endif 55 56 ifdef SLKRUNS 56 TOOL_GCC3_CC += -fmessage-length=057 TOOL_GCC3_CXX += -fmessage-length=057 TOOL_GCC3_CC += -fmessage-length=0 58 TOOL_GCC3_CXX += -fmessage-length=0 58 59 endif 59 60
Note:
See TracChangeset
for help on using the changeset viewer.