Skip to content

Commit

Permalink
Upgrade to GCC 8.3.0 from 8.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-truscott committed Feb 24, 2019
1 parent 7bdb1f0 commit 082c640
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions gcc/build.gradle
Expand Up @@ -2,20 +2,20 @@ apply plugin: 'assembler'
apply plugin: 'c'

task downloadGcc(type: Downloader) {
sourceUrl = 'ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-8.2.0/gcc-8.2.0.tar.xz'
target = file('gcc-8.2.0.tar.xz')
sourceUrl = 'ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-8.3.0/gcc-8.3.0.tar.xz'
target = file('gcc-8.3.0.tar.xz')
}

/*
task untarGcc (type: Copy) {
from tarTree(resources.gzip('gcc-8.2.0.tar.xz'))
from tarTree(resources.gzip('gcc-8.3.0.tar.xz'))
into getProjectDir().getAbsolutePath() + "//src"
}
*/
task untarGcc (type:Exec) {
commandLine 'bash',
'-c',
'rm -rf ' + getProjectDir().getAbsolutePath().replace("\\","/") + '/src;mkdir -p ' + getProjectDir().getAbsolutePath().replace("\\","/") + '/src;tar xf gcc-8.2.0.tar.xz -C src'
'rm -rf ' + getProjectDir().getAbsolutePath().replace("\\","/") + '/src;mkdir -p ' + getProjectDir().getAbsolutePath().replace("\\","/") + '/src;tar xf gcc-8.3.0.tar.xz -C src'
}

untarGcc.dependsOn downloadGcc
Expand All @@ -31,7 +31,7 @@ task configureGccStage1Arm (type:Exec) {
workingDir getProjectDir().getAbsolutePath() + "//build-arm-eabi-stage1"
commandLine 'bash',
'-c',
'rm -rf *;../src/gcc-8.2.0/configure --with-system-zlib --prefix=' + getProjectDir().getAbsolutePath().replace("\\","/") + '/../arm-eabi --target=arm-eabi --disable-multilib --enable-lto --disable-libstdcxx --disable-libquadmath --disable-nls --enable-languages=c --without-headers --with-newlib --disable-libssp --disable-gomp --disable-libstcxx-pch --enable-threads --disable-libmudflap --enable-interwork'
'rm -rf *;../src/gcc-8.3.0/configure --with-system-zlib --prefix=' + getProjectDir().getAbsolutePath().replace("\\","/") + '/../arm-eabi --target=arm-eabi --disable-multilib --enable-lto --disable-libstdcxx --disable-libquadmath --disable-nls --enable-languages=c --without-headers --with-newlib --disable-libssp --disable-gomp --disable-libstcxx-pch --enable-threads --disable-libmudflap --enable-interwork'
}

configureGccStage1Arm.dependsOn setupGccStage1
Expand Down Expand Up @@ -65,7 +65,7 @@ task configureGccStage3Arm (type:Exec) {
workingDir getProjectDir().getAbsolutePath() + "//build-arm-eabi-stage3"
commandLine 'bash',
'-c',
'rm -rf *;../src/gcc-8.2.0/configure --with-system-zlib --prefix=' + getProjectDir().getAbsolutePath().replace("\\","/") + '/../arm-eabi --target=arm-eabi --enable-multilib --enable-lto --disable-libquadmath --disable-nls --enable-languages=c --with-newlib --disable-libssp --disable-gomp --disable-libstcxx-pch --enable-threads --disable-libmudflap --enable-interwork --enable-softfloat --with-multilib-list=aprofile'
'rm -rf *;../src/gcc-8.3.0/configure --with-system-zlib --prefix=' + getProjectDir().getAbsolutePath().replace("\\","/") + '/../arm-eabi --target=arm-eabi --enable-multilib --enable-lto --disable-libquadmath --disable-nls --enable-languages=c --with-newlib --disable-libssp --disable-gomp --disable-libstcxx-pch --enable-threads --disable-libmudflap --enable-interwork --enable-softfloat --with-multilib-list=aprofile'
}

configureGccStage3Arm.dependsOn setupGccStage3
Expand Down

0 comments on commit 082c640

Please sign in to comment.