Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions gcc-build-vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
##- Customize this variable to specify the version of GCC 9 that you want
## to download and build.
##
export GCC_VERSION=9.X.0
export GCC_VERSION=11.1.0

##- Customize variable this to name the installation; the custom name is
## displayed when a user invokes gcc/g++ with the -v or --version flags.
Expand All @@ -20,12 +20,12 @@ export GCC_PKG_NAME='KEWB Computing Build'
##- Customize this variable to define the middle substring of the GCC build
## triple.
##
export GCC_CUSTOM_BUILD_STR=kewb
export GCC_CUSTOM_BUILD_STR=xt

##- Customize this variable to specify where this version of GCC will be
## installed.
##
export GCC_INSTALL_PREFIX=/usr/local/gcc/$GCC_VERSION
export GCC_INSTALL_PREFIX=/opt/gcc-$GCC_VERSION

##- Customize this variable to specify where the scripts that set various
## important environment variables for using this version of GCC will be
Expand All @@ -35,7 +35,7 @@ export GCC_INSTALL_SCRIPTS_PREFIX=/usr/local/bin

##- Customize this variable to specify the installation's time stamp.
##
export GCC_TIME_STAMP=202003151000
export GCC_TIME_STAMP=202105111649

##- Customize these variables if you want to change the arguments passed
## to make that specify the number of jobs/processes used to build and
Expand All @@ -49,7 +49,7 @@ export GCC_TEST_JOBS_ARG='-j8'
## installation. If you just want to use the system's assembler and linker,
## then undefine this variable or set its value to "NO".
##
export GCC_USE_CUSTOM_BINUTILS=NO
export GCC_USE_CUSTOM_BINUTILS=YES

##------------------------------------------------------------------------------
## Maybe change below this line, if you have a good reason.
Expand All @@ -64,10 +64,10 @@ export GCC_EXE_SUFFIX=
##- These variables define the versions of binutils, GMP, MPC, and MPFR
## used to build GCC.
##
export BU_VERSION=2.32
export GMP_VERSION=6.1.2
export MPC_VERSION=1.1.0
export MPFR_VERSION=3.1.6
export BU_VERSION=2.36.1
export GMP_VERSION=6.2.1
export MPC_VERSION=1.2.1
export MPFR_VERSION=4.1.0

##------------------------------------------------------------------------------
## Do not change below this line!
Expand Down
3 changes: 3 additions & 0 deletions make-gcc-rpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,10 @@ function rpmcmd ()
rpmbuild -bb $RPM_QUIET \
--define "build_root_dir $BO_ROOT_DIR" \
--define "gcc_install_dir $GCC_INSTALL_PREFIX" \
--define "gcc_install_prefix $GCC_INSTALL_PREFIX" \
--define "gcc_install_reldir $GCC_INSTALL_RELDIR" \
--define "gcc_install_scripts_prefix $GCC_INSTALL_SCRIPTS_PREFIX" \
--define "gcc_install_scripts_dir $GCC_INSTALL_SCRIPTS_PREFIX" \
--define "gcc_install_scripts_dir $GCC_INSTALL_SCRIPTS_PREFIX" \
--define "gcc_install_scripts_reldir $GCC_INSTALL_SCRIPTS_RELDIR" \
--define "gcc_tag $GCC_TAG" \
Expand Down
2 changes: 1 addition & 1 deletion system-type.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ elif [ $1 = "--full" ] || [ $1 = "-f" ]; then
$platform_dist-$platform_vnum \
$platform_dist $platform_vnum \
$platform_arch \
$platform_desc-$platform_vnum
$platform_desc

elif [ $1 = "--tag" ] || [ $1 = "-t" ]; then

Expand Down