mirror of
https://git.planet-casio.com/Lephenixnoir/sh-elf-gcc.git
synced 2024-12-28 04:23:39 +01:00
(rename fxSDK -> GiteaPC to keep the builder independent)
This commit is contained in:
parent
7c93dd5fe9
commit
5983cce9fa
3 changed files with 8 additions and 8 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,6 +1,6 @@
|
||||||
# Everything but the scripts
|
# Everything but the scripts
|
||||||
*
|
*
|
||||||
!fxsdk.make
|
!giteapc.make
|
||||||
!configure.sh
|
!configure.sh
|
||||||
!build.sh
|
!build.sh
|
||||||
!install.sh
|
!install.sh
|
||||||
|
|
12
build.sh
12
build.sh
|
@ -20,17 +20,17 @@ run_with_guard() {
|
||||||
echo "$tag Configuring binutils..."
|
echo "$tag Configuring binutils..."
|
||||||
cd build-binutils
|
cd build-binutils
|
||||||
|
|
||||||
run_with_guard fxsdk-configure.log \
|
run_with_guard giteapc-configure.log \
|
||||||
../binutils-$binutils_version/configure --prefix="$root" --target=sh3eb-elf --with-multilib-list=m3,m4-nofpu --program-prefix=sh-elf- --enable-libssp --enable-lto
|
../binutils-$binutils_version/configure --prefix="$root" --target=sh3eb-elf --with-multilib-list=m3,m4-nofpu --program-prefix=sh-elf- --enable-libssp --enable-lto
|
||||||
|
|
||||||
# Build binutils
|
# Build binutils
|
||||||
|
|
||||||
echo "$tag Compiling binutils (can take a couple of minutes)..."
|
echo "$tag Compiling binutils (can take a couple of minutes)..."
|
||||||
|
|
||||||
run_with_guard fxsdk-build.log \
|
run_with_guard giteapc-build.log \
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
|
|
||||||
run_with_guard fxsdk-install.log \
|
run_with_guard giteapc-install.log \
|
||||||
make install
|
make install
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
@ -40,17 +40,17 @@ cd ..
|
||||||
echo "$tag Configuring gcc..."
|
echo "$tag Configuring gcc..."
|
||||||
cd build-gcc
|
cd build-gcc
|
||||||
|
|
||||||
run_with_guard fxsdk-configure.log \
|
run_with_guard giteapc-configure.log \
|
||||||
../gcc-$gcc_version/configure --prefix="$root" --target=sh3eb-elf --with-multilib-list=m3,m4-nofpu --enable-languages=c,c++ --without-headers --with-newlib --program-prefix=sh-elf- --enable-libssp --enable-lto
|
../gcc-$gcc_version/configure --prefix="$root" --target=sh3eb-elf --with-multilib-list=m3,m4-nofpu --enable-languages=c,c++ --without-headers --with-newlib --program-prefix=sh-elf- --enable-libssp --enable-lto
|
||||||
|
|
||||||
# Build GCC
|
# Build GCC
|
||||||
|
|
||||||
echo "$tag Compiling gcc (often takes 10-20 minutes)..."
|
echo "$tag Compiling gcc (often takes 10-20 minutes)..."
|
||||||
|
|
||||||
run_with_guard fxsdk-build.log \
|
run_with_guard giteapc-build.log \
|
||||||
make -j$(nproc) all-gcc all-target-libgcc
|
make -j$(nproc) all-gcc all-target-libgcc
|
||||||
|
|
||||||
run_with_guard fxsdk-install.log \
|
run_with_guard giteapc-install.log \
|
||||||
make install-gcc install-target-libgcc
|
make install-gcc install-target-libgcc
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# fxsdk: version=1
|
# giteapc: version=1
|
||||||
|
|
||||||
binutils_version=2.35.1
|
binutils_version=2.35.1
|
||||||
gcc_version=10.2.0
|
gcc_version=10.2.0
|
Loading…
Reference in a new issue