Files
vxWorks/h/tool/gnu/make.SH7750gnu
2025-08-20 18:25:46 +08:00

60 lines
2.2 KiB
Plaintext

# make.SH7750gnu - GNU compilation tools definitions for Hitachi SH7750 (SH4)
#
# Copyright 1996-2003 Wind River Systems, Inc.
#
# modification history
# --------------------
# 01u,10dec03,yvp Added ABI_SPEC.
# 01t,07nov03,c_c Removed Compiler definitions.
# 01s,21jan02,sn removed unused C++_TEMPLATE_INST
# 01r,09nov01,zl removed GNULIBROOT, GCC_EXEC_PREFIX, -fno-for-scope and
# -fno-weak options.
# 01q,30oct01,tpw Standardize kernel links and bootrom conversions.
# 01p,11oct01,dat SPR 20403, OPTIM_DRIVER must have -fvolatile
# 01o,25sep01,dat Location of defs.gnu changed to tool/gnu
# 01n,31jul01,sn Removed LIBS defn (libgcc.a linked against automatically)
# 01m,18jul00,rsh add support for c++ template instantiation a'la Salim's direction.
# 01l,14jun00,hk changed EXTRACT_BIN_NAME definition (it was elfToBin -r 4)
# 01k,12may00,zl removed LD_PARTIAL workaround (conflict with project builds)
# 01j,28apr00,zl Don't use ccsh to link on Windows because search path
# notation (LD_PARTIAL)
# 01i,20apr00,max Replacing SH7750gnu by m4
# 01h,17apr00,zl removed BSP-local linker scripts; changed -N to -n.
# 01g,07mar00,zl updated for gcc-2.96
# 01f,15sep99,zl use -r option for elfToBin
# 01e,12aug99,zl added libgcc to LIBS
# 01d,04jun99,zl hitachi SH4 architecture port, provided by Highlander
# Engineering. Now using new toolchain with ELF.
# 01c,08feb99,hk Keep frame pointer for stack trace afer GDB attach.
# Get rid of -S in LDFLAGS so debugging info will be retained
# when a BSP is built with -g. (sync w/make.SH7729gnu 01f jmb)
# 01b,12sep98,hk fixed typo.
# 01a,09may96,st derived from make.SH7700gnu-01e.
#
# DESCRIPTION
# This file contains SH7750 (SH4) specific definitions and flags for the GNU
# software generation tools (compiler, assembler, linker etc.).
#*/
CPU = SH7750
TOOL = gnu
include $(TGT_DIR)/h/tool/gnu/defs.gnu
CC_OPTIM_DRIVER = -O2 -fno-builtin -fvolatile
CC_OPTIM_NORMAL = -O2 -fno-builtin
CC_OPTIM_TARGET = -O2 -fno-builtin -fvolatile
CC_SOFT_FLOAT =
CC_ARCH_SPEC = -m4
TOOLENV = sh
VX_CPU_FAMILY = sh
ARCH_DIR = sh
ABI_SPEC = sh4
LDFLAGS = -X -n
# end of make.SH7750gnu