Changeset 69dc065 in mainline
- Timestamp:
- 2009-09-17T22:42:56Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c1618ed
- Parents:
- 82cf692
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
HelenOS.config
r82cf692 r69dc065 219 219 220 220 % Compiler 221 @ "gcc_cross" GCC Cross-compiler 222 @ "gcc_native" GCC Native 223 @ "icc_native" ICC Native 224 @ "suncc_native" Sun Studio C Compiler 221 @ "gcc_cross" GNU C Compiler (cross-compiler) 222 @ "gcc_native" GNU C Compiler (native) 223 @ "icc" Intel C Compiler 224 @ "suncc" Sun Studio C Compiler 225 @ "clang" Clang 225 226 ! [PLATFORM=amd64|PLATFORM=ia32] COMPILER (choice) 226 227 227 228 % Compiler 228 @ "gcc_cross" G CC Cross-compiler229 @ "gcc_native" G CC Native230 @ "icc _native" ICC Native229 @ "gcc_cross" GNU C Compiler (cross-compiler) 230 @ "gcc_native" GNU C Compiler (native) 231 @ "icc" Intel C Compiler 231 232 ! [PLATFORM=ia64] COMPILER (choice) 232 233 233 234 % Compiler 234 @ "gcc_cross" G CC Cross-compiler235 @ "gcc_native" G CC Native236 @ "suncc _native" Sun Studio C Compiler235 @ "gcc_cross" GNU C Compiler (cross-compiler) 236 @ "gcc_native" GNU C Compiler (native) 237 @ "suncc" Sun Studio C Compiler 237 238 ! [PLATFORM=sparc64] COMPILER (choice) 238 239 239 240 % Compiler 240 @ "gcc_cross" G CC Cross-compiler241 @ "gcc_native" G CC Native241 @ "gcc_cross" GNU C Compiler (cross-compiler) 242 @ "gcc_native" GNU C Compiler (native) 242 243 ! [PLATFORM=arm32|PLATFORM=mips32|PLATFORM=ppc32] COMPILER (choice) 243 244 -
boot/arch/ia64/loader/Makefile
r82cf692 r69dc065 51 51 endif 52 52 53 ifeq ($(COMPILER),icc _native)53 ifeq ($(COMPILER),icc) 54 54 CC = icc 55 55 AS = as -
kernel/Makefile
r82cf692 r69dc065 54 54 ICC_CFLAGS = -I$(INCLUDES) -O$(OPTIMIZATION) -imacros ../config.h \ 55 55 -fno-builtin -Wall -Wmissing-prototypes -Werror \ 56 -nostdlib -nostdinc \ 57 -wd170 56 -nostdlib -nostdinc -wd170 58 57 59 58 SUNCC_CFLAGS = -I$(INCLUDES) -xO$(OPTIMIZATION) \ 60 59 -xnolib -xc99=all -features=extensions \ 61 60 -erroff=E_ZERO_SIZED_STRUCT_UNION 61 62 CLANG_CFLAGS = -I$(INCLUDES) -O$(OPTIMIZATION) -imacros ../config.h \ 63 -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) \ 64 -finput-charset=UTF-8 -fno-builtin -Wall -Wextra -Wno-unused-parameter \ 65 -Wmissing-prototypes -nostdlib -nostdinc -pipe 62 66 63 67 LFLAGS = -M … … 109 113 endif 110 114 111 ifeq ($(COMPILER),icc_native) 115 ifeq ($(COMPILER),gcc_cross) 116 CC = $(TOOLCHAIN_DIR)/bin/$(TARGET)-gcc 117 GCC = $(CC) 118 AS = $(TOOLCHAIN_DIR)/bin/$(TARGET)-as 119 LD = $(TOOLCHAIN_DIR)/bin/$(TARGET)-ld 120 OBJCOPY = $(TOOLCHAIN_DIR)/bin/$(TARGET)-objcopy 121 OBJDUMP = $(TOOLCHAIN_DIR)/bin/$(TARGET)-objdump 122 LIBDIR = $(TOOLCHAIN_DIR)/lib 123 CFLAGS = $(GCC_CFLAGS) 124 DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS) 125 endif 126 127 ifeq ($(COMPILER),icc) 112 128 CC = icc 113 129 GCC = gcc … … 121 137 endif 122 138 123 ifeq ($(COMPILER),suncc _native)139 ifeq ($(COMPILER),suncc) 124 140 CC = suncc 125 141 GCC = gcc … … 134 150 endif 135 151 136 ifeq ($(COMPILER), gcc_cross)137 CC = $(TOOLCHAIN_DIR)/bin/$(TARGET)-gcc138 GCC = $(CC)139 AS = $( TOOLCHAIN_DIR)/bin/$(TARGET)-as140 LD = $( TOOLCHAIN_DIR)/bin/$(TARGET)-ld141 OBJCOPY = $( TOOLCHAIN_DIR)/bin/$(TARGET)-objcopy142 OBJDUMP = $( TOOLCHAIN_DIR)/bin/$(TARGET)-objdump143 LIBDIR = $(TOOLCHAIN_DIR)/lib144 CFLAGS = $( GCC_CFLAGS)152 ifeq ($(COMPILER),clang) 153 CC = clang 154 GCC = gcc 155 AS = $(BINUTILS_PREFIX)as 156 LD = $(BINUTILS_PREFIX)ld 157 OBJCOPY = $(BINUTILS_PREFIX)objcopy 158 OBJDUMP = $(BINUTILS_PREFIX)objdump 159 LIBDIR = /usr/lib 160 CFLAGS = $(CLANG_CFLAGS) 145 161 DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS) 146 162 endif -
kernel/arch/ia32/Makefile.inc
r82cf692 r69dc065 43 43 ICC_CFLAGS += $(CMN1) 44 44 SUNCC_CFLAGS += $(CMN1) 45 CLANG_CFLAGS += $(CMN1) 45 46 46 47 ## Accepted CPUs … … 71 72 GCC_CFLAGS += $(CMN2) 72 73 ICC_CFLAGS += $(CMN2) 74 CLANG_CFLAGS += $(CMN2) 73 75 74 76 ARCH_SOURCES = \ -
uspace/lib/libc/Makefile.toolchain
r82cf692 r69dc065 64 64 # 65 65 66 ifeq ($(COMPILER),gcc_cross) 67 CC = $(TOOLCHAIN_DIR)/$(TARGET)-gcc 68 AS = $(TOOLCHAIN_DIR)/$(TARGET)-as 69 LD = $(TOOLCHAIN_DIR)/$(TARGET)-ld 70 AR = $(TOOLCHAIN_DIR)/$(TARGET)-ar 71 OBJCOPY = $(TOOLCHAIN_DIR)/$(TARGET)-objcopy 72 OBJDUMP = $(TOOLCHAIN_DIR)/$(TARGET)-objdump 73 DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS) 74 endif 75 66 76 ifeq ($(COMPILER),gcc_native) 67 77 CC = gcc … … 74 84 endif 75 85 76 ifeq ($(COMPILER),icc _native)86 ifeq ($(COMPILER),icc) 77 87 CC = icc 78 88 AS = as … … 84 94 endif 85 95 86 ifeq ($(COMPILER), gcc_cross)87 CC = $(TOOLCHAIN_DIR)/$(TARGET)-gcc88 AS = $( TOOLCHAIN_DIR)/$(TARGET)-as89 LD = $( TOOLCHAIN_DIR)/$(TARGET)-ld90 AR = $( TOOLCHAIN_DIR)/$(TARGET)-ar91 OBJCOPY = $( TOOLCHAIN_DIR)/$(TARGET)-objcopy92 OBJDUMP = $( TOOLCHAIN_DIR)/$(TARGET)-objdump96 ifeq ($(COMPILER),clang) 97 CC = clang 98 AS = $(BINUTILS_PREFIX)as 99 LD = $(BINUTILS_PREFIX)ld 100 AR = $(BINUTILS_PREFIX)ar 101 OBJCOPY = $(BINUTILS_PREFIX)objcopy 102 OBJDUMP = $(BINUTILS_PREFIX)objdump 93 103 DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS) 94 104 endif
Note:
See TracChangeset
for help on using the changeset viewer.