mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-18 12:36:23 +00:00
initial support to build tricore gcc
Add support for Tricore architecture. TriCore architecture is optimized for real-time embedded systems. More information can be found at AURIX™ TC3xx Architecture vol 1 https://www.infineon.com/dgdl/Infineon-AURIX_TC3xx_Architecture_vol1-UserManual-v01_00-EN.pdf?fileId=5546d46276fb756a01771bc4c2e33bdd Signed-off-by: jferreir <jesus.ferreira@gmail.com>
This commit is contained in:
parent
4773bd609c
commit
558d67ec0d
10
config/arch/tricore.in
Normal file
10
config/arch/tricore.in
Normal file
@ -0,0 +1,10 @@
|
||||
# tricore specific configuration file
|
||||
|
||||
## no-package
|
||||
## depends on EXPERIMENTAL
|
||||
##
|
||||
## select ARCH_SUPPORTS_32
|
||||
## select ARCH_SUPPORTS_BOTH_ENDIAN
|
||||
## select ARCH_DEFAULT_LE
|
||||
## select ARCH_SUPPORTS_FLAT_FORMAT
|
||||
|
29
samples/tricore-none-eabi/crosstool.config
Normal file
29
samples/tricore-none-eabi/crosstool.config
Normal file
@ -0,0 +1,29 @@
|
||||
CT_CONFIG_VERSION="4"
|
||||
CT_EXPERIMENTAL=y
|
||||
CT_ARCH_TRICORE=y
|
||||
CT_TARGET_CFLAGS="-ftls-model=local-exec"
|
||||
CT_TARGET_VENDOR="none"
|
||||
CT_BINUTILS_SRC_DEVEL=y
|
||||
CT_BINUTILS_DEVEL_URL="https://github.com/EEESlab/tricore-binutils-gdb.git"
|
||||
CT_BINUTILS_DEVEL_REVISION="01caba3cd2fdc00c881703063beadb080f6d4801"
|
||||
CT_BINUTILS_V_2_40=y
|
||||
CT_BINUTILS_EXTRA_CONFIG_ARRAY="--disable-warn-rwx-segments"
|
||||
CT_NEWLIB_SRC_DEVEL=y
|
||||
CT_NEWLIB_DEVEL_URL="https://github.com/EEESlab/tricore-newlib-cygwin.git"
|
||||
CT_NEWLIB_DEVEL_REVISION="240a8f676ea923c703824e996fbe88ac4a302e17"
|
||||
CT_NEWLIB_V_4_3=y
|
||||
CT_LIBC_NEWLIB_IO_C99FMT=y
|
||||
CT_LIBC_NEWLIB_IO_LL=y
|
||||
CT_LIBC_NEWLIB_IO_FLOAT=y
|
||||
CT_LIBC_NEWLIB_IO_POS_ARGS=y
|
||||
CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y
|
||||
CT_LIBC_NEWLIB_REENT_SMALL=y
|
||||
CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y
|
||||
# CT_LIBC_NEWLIB_WIDE_ORIENT is not set
|
||||
CT_LIBC_NEWLIB_NANO_MALLOC=y
|
||||
CT_LIBC_NEWLIB_EXTRA_CONFIG_ARRAY="--enable-newlib-iconv --enable-newlib-reent-binary-compat"
|
||||
CT_GCC_SRC_DEVEL=y
|
||||
CT_GCC_DEVEL_URL="https://github.com/EEESlab/tricore-gcc.git"
|
||||
CT_GCC_DEVEL_REVISION="a383090685ca58596857bbe314dd4d16828e41e5"
|
||||
CT_GCC_V_13=y
|
||||
CT_CC_LANG_CXX=y
|
3
samples/tricore-none-eabi/reported.by
Normal file
3
samples/tricore-none-eabi/reported.by
Normal file
@ -0,0 +1,3 @@
|
||||
reporter_name="Jesus Ferreira"
|
||||
reporter_url=""
|
||||
reporter_comment="tricore-unknown-eabi"
|
9
scripts/build/arch/tricore.sh
Normal file
9
scripts/build/arch/tricore.sh
Normal file
@ -0,0 +1,9 @@
|
||||
# Compute tricore-specific values
|
||||
|
||||
CT_DoArchTupleValues()
|
||||
{
|
||||
# The architecture part of the tuple:
|
||||
CT_TARGET_ARCH="${CT_ARCH}${CT_ARCH_SUFFIX}"
|
||||
CT_ARCH_ENDIAN_CFLAG=""
|
||||
CT_ARCH_ENDIAN_LDFLAG=""
|
||||
}
|
1
scripts/config.sub
vendored
1
scripts/config.sub
vendored
@ -1250,6 +1250,7 @@ case $cpu-$vendor in
|
||||
| tahoe \
|
||||
| thumbv7* \
|
||||
| tic30 | tic4x | tic54x | tic55x | tic6x | tic80 \
|
||||
| tricore \
|
||||
| tron \
|
||||
| ubicom32 \
|
||||
| v70 | v850 | v850e | v850e1 | v850es | v850e2 | v850e2v3 \
|
||||
|
Loading…
Reference in New Issue
Block a user