Changeset 667 for trunk/kBuild/tools/GCC.kmk
- Timestamp:
- Dec 6, 2006, 5:00:16 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/GCC.kmk
r665 r667 2 2 ## @file 3 3 # 4 # kBuild Tool Config - Generic GCC .4 # kBuild Tool Config - Generic GCC Using The System GCC. 5 5 # 6 6 # Copyright (c) 2004-2005 knut st. osmundsen <bird-srcspam@anduin.net> … … 25 25 # 26 26 27 28 TOOL_GCC := Generic GCC 29 30 TOOL_GCC_CC ?= gcc$(HOSTSUFF_EXE) 31 TOOL_GCC_COBJSUFF ?= .o 32 TOOL_GCC_CFLAGS ?= 33 TOOL_GCC_CFLAGS.debug ?= -g 34 TOOL_GCC_CFLAGS.profile ?= -g -O2 #-pg 35 TOOL_GCC_CFLAGS.release ?= -O2 36 TOOL_GCC_CINCS ?= 37 TOOL_GCC_CDEFS ?= 38 39 TOOL_GCC_CXX ?= g++$(HOSTSUFF_EXE) 40 TOOL_GCC_CXXOBJSUFF ?= .o 41 TOOL_GCC_CXXOBJSUFF ?= .o 42 TOOL_GCC_CXXFLAGS ?= 43 TOOL_GCC_CXXFLAGS.debug ?= -g -O0 44 TOOL_GCC_CXXFLAGS.profile ?= -g -O2 #-pg 45 TOOL_GCC_CXXFLAGS.release ?= -O2 46 TOOL_GCC_CXXINCS ?= 47 TOOL_GCC_CXXDEFS ?= 48 49 TOOL_GCC_AS ?= gcc$(HOSTSUFF_EXE) 50 TOOL_GCC_ASFLAGS ?= -x assembler-with-cpp 51 TOOL_GCC_ASFLAGS.debug ?= -g 52 TOOL_GCC_ASFLAGS.profile ?= -g 53 TOOL_GCC_ASOBJSUFF ?= .o 54 55 TOOL_GCC_AR ?= ar$(HOSTSUFF_EXE) 56 TOOL_GCC_ARFLAGS ?= cr 57 TOOL_GCC_ARLIBSUFF ?= .a 58 59 TOOL_GCC_LD ?= g++$(HOSTSUFF_EXE) 60 TOOL_GCC_LDFLAGS ?= 61 TOOL_GCC_LDFLAGS.debug ?= -g 62 TOOL_GCC_LDFLAGS.profile ?= -g 63 TOOL_GCC_LDFLAGS.dll.os2 ?= -Zdll 27 TOOL_GCC := Generic GCC Using The System GCC. 28 29 # Tool Specific Properties 30 TOOL_GCC_CC ?= gcc$(HOSTSUFF_EXE) 31 TOOL_GCC_CXX ?= g++$(HOSTSUFF_EXE) 32 TOOL_GCC_AS ?= gcc$(HOSTSUFF_EXE) 33 TOOL_GCC_AR ?= ar$(HOSTSUFF_EXE) 34 TOOL_GCC_LD ?= g++$(HOSTSUFF_EXE) 35 TOOL_GCC_LDFLAGS.dll.os2 ?= -Zdll 64 36 ifndef TOOL_GCC_LDFLAGS.$(BUILD_TARGET) 65 TOOL_GCC_LDFLAGS.dll 37 TOOL_GCC_LDFLAGS.dll ?= -shared 66 38 else 67 TOOL_GCC_LDFLAGS.dll 39 TOOL_GCC_LDFLAGS.dll ?= $(TOOL_GCC_LDFLAGS.$(BUILD_TARGET)) 68 40 endif 41 42 # General Properties used by kBuild 43 TOOL_GCC_COBJSUFF ?= .o 44 TOOL_GCC_CFLAGS ?= 45 TOOL_GCC_CFLAGS.debug ?= -g 46 TOOL_GCC_CFLAGS.profile ?= -g -O2 #-pg 47 TOOL_GCC_CFLAGS.release ?= -O2 48 TOOL_GCC_CINCS ?= 49 TOOL_GCC_CDEFS ?= 50 51 TOOL_GCC_CXXOBJSUFF ?= .o 52 TOOL_GCC_CXXOBJSUFF ?= .o 53 TOOL_GCC_CXXFLAGS ?= 54 TOOL_GCC_CXXFLAGS.debug ?= -g -O0 55 TOOL_GCC_CXXFLAGS.profile ?= -g -O2 #-pg 56 TOOL_GCC_CXXFLAGS.release ?= -O2 57 TOOL_GCC_CXXINCS ?= 58 TOOL_GCC_CXXDEFS ?= 59 60 TOOL_GCC_ASFLAGS ?= -x assembler-with-cpp 61 TOOL_GCC_ASFLAGS.debug ?= -g 62 TOOL_GCC_ASFLAGS.profile ?= -g 63 TOOL_GCC_ASOBJSUFF ?= .o 64 65 TOOL_GCC_ARFLAGS ?= cr 66 TOOL_GCC_ARLIBSUFF ?= .a 67 68 TOOL_GCC_LDFLAGS ?= 69 TOOL_GCC_LDFLAGS.debug ?= -g 70 TOOL_GCC_LDFLAGS.profile ?= -g 69 71 70 72
Note:
See TracChangeset
for help on using the changeset viewer.