forked from UlrichBecker/gcc-toolchain-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build-native-toolchain.sh
executable file
·34 lines (29 loc) · 1.34 KB
/
build-native-toolchain.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#/usr/bin/sh
###############################################################################
## ##
## Script to build GCC toolchain for a native target (e.g. x86) ##
## ##
##---------------------------------------------------------------------------##
## File: build-lm32-toolchain.sh ##
## Author: Ulrich Becker <[email protected]> ##
## Company: GSI Helmholtz Centre for Heavy Ion Research GmbH ##
## Date: 04.06.2019 ##
## Revision: ##
###############################################################################
TARGET=$(uname -m)
ENABLE_CPP=true
ENABLE_ADA=true
ENABLE_FORTRAN=true
# ENABLE_D=true
ENABLE_OBJ_C=true
ENABLE_OBJ_CPP=true
ENANLE_GO=true
# ENABLE_BRIG=true
# ENABLE_JAVA=true
make_third_stage()
{
[ $VERBOSE ] && echo "INFO: Nothing additional work for target $(uname -m) in third stage."
}
ADDITIONAL_CONFIG_ARGS="$ADDITIONAL_CONFIG_ARGS --disable-multilib"
source build-toolchain.sh
#=================================== EOF ======================================