Changeset c31e536 in mainline


Ignore:
Timestamp:
2007-05-31T21:05:40Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
67f5fbd9
Parents:
f6d2c81
Message:

experimental support for ICC
(the sources has to be modified to avoid ICC compiler warnings)

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • HelenOS.config

    rf6d2c81 rc31e536  
    2222
    2323# Compiler
    24 @ "cross" Cross-compiler
    25 @ "native" Native
     24@ "gcc_cross" GCC Cross-compiler
     25@ "gcc_native" GCC Native
     26@ "icc_native" ICC Native
    2627! COMPILER (choice)
    2728
  • kernel/Makefile

    rf6d2c81 rc31e536  
    3838
    3939DEFS = -D$(ARCH) -DARCH=\"$(ARCH)\" -DRELEASE=\"$(RELEASE)\" "-DNAME=\"$(NAME)\"" -DKERNEL
    40 CFLAGS = -fno-builtin -fomit-frame-pointer -Wall -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -nostdlib -nostdinc -Igeneric/include/
     40CFLAGS = -fno-builtin -fomit-frame-pointer -Wall -Wmissing-prototypes -Werror -O3 -nostdlib -nostdinc -Igeneric/include/
    4141LFLAGS = -M
    4242AFLAGS =
     
    119119#
    120120
    121 ifeq ($(COMPILER),native)
     121ifeq ($(COMPILER),gcc_native)
    122122        CC = gcc
    123123        AS = as
     
    126126        OBJDUMP = objdump
    127127        LIBDIR = /usr/lib
    128 else
     128endif
     129
     130ifeq ($(COMPILER),icc_native)
     131        CC = icc
     132        AS = as
     133        LD = ld
     134        OBJCOPY = objcopy
     135        OBJDUMP = objdump
     136        LIBDIR = /usr/lib
     137endif
     138
     139ifeq ($(COMPILER),gcc_cross)
    129140        CC = $(TOOLCHAIN_DIR)/bin/$(TARGET)-gcc
    130141        AS = $(TOOLCHAIN_DIR)/bin/$(TARGET)-as
  • kernel/kernel.config

    rf6d2c81 rc31e536  
    1414
    1515# Compiler
    16 @ "cross" Cross-compiler
    17 @ "native" Native
     16@ "gcc_cross" GCC Cross-compiler
     17@ "gcc_native" GCC Native
     18@ "icc_native" ICC Native
    1819! COMPILER (choice)
    1920
Note: See TracChangeset for help on using the changeset viewer.