sh-elf-vhex - v1.2.0-rc3 : fix GCC build
*fix* > [scripts/binutils/configure] | explicit shared activation > [scripts/gcc/build] | disable verbose per default | libgcc string information > [scripts/gcc/configure] | quiet prerequisites install | explicit display prerequisites step
This commit is contained in:
parent
9b06308482
commit
21328dc0fd
|
@ -213,9 +213,10 @@ echo "$TAG Configuring binutils..."
|
|||
$quiet ../binutils-$VERSION/configure \
|
||||
--prefix="$SYSROOT" \
|
||||
--target='sh-elf-vhex' \
|
||||
--with-multilib-list='m3,m4-nofpu' \
|
||||
--program-prefix='sh-elf-vhex-' \
|
||||
--with-multilib-list='m3,m4-nofpu' \
|
||||
--enable-lto \
|
||||
--enable-shared \
|
||||
--disable-nls
|
||||
|
||||
#---
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#! /usr/bin/env bash
|
||||
|
||||
verbose=true
|
||||
verbose=false
|
||||
|
||||
#---
|
||||
# Help screen
|
||||
|
@ -83,14 +83,14 @@ echo "$TAG Configuring GCC (stage 1)..."
|
|||
$quiet ../gcc/configure \
|
||||
--prefix="$SYSROOT" \
|
||||
--target='sh-elf-vhex' \
|
||||
--program-prefix="sh-elf-vhex-" \
|
||||
--with-multilib-list='m3,m4-nofpu' \
|
||||
--enable-languages='c' \
|
||||
--without-headers \
|
||||
--program-prefix="sh-elf-vhex-" \
|
||||
--enable-lto \
|
||||
--enable-shared \
|
||||
--disable-threads \
|
||||
--disable-nls \
|
||||
--enable-shared \
|
||||
$extra_args
|
||||
|
||||
echo "$TAG Compiling GCC (stage 1) (usually 10-20 minutes)..."
|
||||
|
@ -127,18 +127,17 @@ $quiet vxsdk -vvv build-superh ../fxlibc --verbose
|
|||
# Finish to build GCC
|
||||
#---
|
||||
|
||||
echo "$TAG Compiling libgcc (stage 2)..."
|
||||
echo "$TAG Compiling libgcc (stage 1)..."
|
||||
|
||||
$quiet $make_cmd -j"$cores" all-target-libgcc
|
||||
|
||||
echo "$TAG Install libgcc (stage 2)..."
|
||||
echo "$TAG Install libgcc (stage 1)..."
|
||||
|
||||
$quiet $make_cmd -j"$cores" install-strip-target-libgcc
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#---
|
||||
# Indicate that the build is finished
|
||||
#---
|
||||
|
|
|
@ -151,8 +151,10 @@ mv ./gcc-$VERSION/ ./gcc
|
|||
# Install dependencies
|
||||
#---
|
||||
|
||||
echo "$TAG install dependencies..."
|
||||
|
||||
cd gcc
|
||||
./contrib/download_prerequisites
|
||||
$quiet ./contrib/download_prerequisites
|
||||
cd ..
|
||||
|
||||
mkdir -p build
|
||||
|
|
Loading…
Reference in New Issue