62 lines
1.8 KiB
Plaintext
62 lines
1.8 KiB
Plaintext
# make.SIMNTicc - ICC compilation tools definitions for NTSIM
|
|
#
|
|
# Copyright (c) 2010-2015 Wind River Systems, Inc.
|
|
#
|
|
# The right to copy, distribute, modify or otherwise make use
|
|
# of this software may be licensed only pursuant to the terms
|
|
# of an applicable Wind River license agreement.
|
|
#
|
|
# modification history
|
|
# --------------------
|
|
# 01j,29oct15,elp specify mfpmath option for floating point (VXW6-84506)
|
|
# 01i,07apr15,rtm fix for VXW6-80633 fvolatile warnings
|
|
# 01h,29oct13,elp replaced unknown -march with -mia32
|
|
# 01g,26aug13,elp replaced -march=i486 with -mia32 (WIND00424331)
|
|
# 01f,13jun11,mze add debug
|
|
# 01e,08feb11,gvm Fix for WIND00254225
|
|
# 01d,27oct10,elp added -fno-omit-frame-pointer.
|
|
# 01c,27oct10,rlp Added LP64 support.
|
|
# 01b,31aug10,gvm Fix WIND0231093 for defect WIND00231066
|
|
# 01a,10mar10,gvm adpated from make.SIMNTgnu; no -fno-defer-pop yet
|
|
#
|
|
# DESCRIPTION
|
|
# This file contains SIMNT specific definitions and flags for the GNU
|
|
# software generation tools (compiler, assembler, linker etc.).
|
|
#*/
|
|
|
|
CPU = SIMNT
|
|
TOOL = icc
|
|
CM = large
|
|
|
|
include $(TGT_DIR)/h/tool/icc/defs.icc
|
|
|
|
CC_OPTIM_XO = -O2
|
|
CC_OPTIM_DEBUG =
|
|
CC_OPTIM_DRIVER = $(CC_OPTIM_DEBUG) -nostdlib -fno-builtin
|
|
CC_OPTIM_NORMAL = $(CC_OPTIM_DEBUG) $(CC_OPTIM_XO) -nostdlib -fno-builtin
|
|
CC_OPTIM_TARGET = $(CC_OPTIM_DEBUG) $(CC_OPTIM_XO) -nostdlib -fno-builtin
|
|
|
|
# Generate code for (-march=) and schedule for (-mtune=) pentium
|
|
|
|
ifdef _WRS_CONFIG_LP64
|
|
CC_ARCH_SPEC = -m64 -mcmodel=$(CM) -mno-red-zone -fno-implicit-fp-sse \
|
|
-fno-omit-frame-pointer
|
|
LINK_FLAGS_EXTRA= -m elf_x86_64_vxworks
|
|
else
|
|
CC_ARCH_SPEC = -mia32 -fno-implicit-fp-sse -mfpmath=387
|
|
endif
|
|
|
|
TOOLENV = pentium
|
|
VX_CPU_FAMILY = simpc
|
|
ARCH_DIR = simnt
|
|
|
|
ifdef _WRS_CONFIG_LP64
|
|
ABI_SPEC = x86-64
|
|
else
|
|
ABI_SPEC = x86
|
|
endif
|
|
|
|
CF =
|
|
|
|
# end of make.SIMNTicc
|