1
1
# escape=`
2
2
3
- # Dockerfile to generate the Windows g++-mipsel-none-elf-13.2 .0.zip package.
3
+ # Dockerfile to generate the Windows g++-mipsel-none-elf-14.1 .0.zip package.
4
4
5
5
FROM mcr.microsoft.com/windows/servercore:ltsc2019
6
6
WORKDIR C:\w indows\t emp
@@ -46,7 +46,7 @@ RUN C:\msys64\usr\bin\bash.exe -l -c 'pacman -S --needed --noconfirm mingw-w64-x
46
46
RUN C:\m sys64\u sr\b in\b ash.exe -l -c 'pacman -Scc --noconfirm'
47
47
48
48
ARG BINUTILS=https://ftp.gnu.org/gnu/binutils/binutils-2.42.tar.xz
49
- ARG GCC=https://ftp.gnu.org/gnu/gcc/gcc-13.2 .0/gcc-13.2 .0.tar.xz
49
+ ARG GCC=https://ftp.gnu.org/gnu/gcc/gcc-14.1 .0/gcc-14.1 .0.tar.xz
50
50
51
51
RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; `
52
52
Invoke-WebRequest $env:BINUTILS -OutFile "C:\W indows\T emp\b inutils-2.42.tar.xz" ; `
@@ -55,9 +55,9 @@ RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tl
55
55
Remove-Item @('C:\W indows\T emp\* ' , 'C:\U sers\*\A ppdata\L ocal\T emp\* ' ) -Force -Recurse;
56
56
57
57
RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; `
58
- Invoke-WebRequest $env:GCC -OutFile "C:\W indows\T emp\g cc-13.2 .0.tar.xz" ; `
59
- Start-Process -FilePath "C:\7 -Zip\7 z.exe" -ArgumentList e, "C:\W indows\T emp\g cc-13.2 .0.tar.xz" , `-y, `-oC:\W indows\T emp\ -NoNewWindow -PassThru -Wait; `
60
- Start-Process -FilePath "C:\7 -Zip\7 z.exe" -ArgumentList x, "C:\W indows\T emp\g cc-13.2 .0.tar" , `-y, `-oC:\ -NoNewWindow -PassThru -Wait; `
58
+ Invoke-WebRequest $env:GCC -OutFile "C:\W indows\T emp\g cc-14.1 .0.tar.xz" ; `
59
+ Start-Process -FilePath "C:\7 -Zip\7 z.exe" -ArgumentList e, "C:\W indows\T emp\g cc-14.1 .0.tar.xz" , `-y, `-oC:\W indows\T emp\ -NoNewWindow -PassThru -Wait; `
60
+ Start-Process -FilePath "C:\7 -Zip\7 z.exe" -ArgumentList x, "C:\W indows\T emp\g cc-14.1 .0.tar" , `-y, `-oC:\ -NoNewWindow -PassThru -Wait; `
61
61
Remove-Item @('C:\W indows\T emp\* ' , 'C:\U sers\*\A ppdata\L ocal\T emp\* ' ) -Force -Recurse;
62
62
63
63
ENV MSYSTEM MINGW64
@@ -70,16 +70,16 @@ RUN C:\msys64\usr\bin\bash.exe -l -c 'make -C /c/binutils-2.42 all -j8'
70
70
RUN C:\m sys64\u sr\b in\b ash.exe -l -c 'make -C /c/binutils-2.42 install-strip'
71
71
RUN C:\m sys64\u sr\b in\b ash.exe -l -c 'cp /c/binutils-2.42/COPYING* /DIST'
72
72
73
- RUN C:\m sys64\u sr\b in\b ash.exe -l -c 'mkdir /c/gcc-13.2 .0/build && cd /c/gcc-13.2 .0/build && ../configure --target=mipsel-none-elf --without-isl --disable-nls --disable-threads --disable-shared --disable-libssp --disable-libstdcxx-pch --disable-libgomp --disable-werror --without-headers --disable-hosted-libstdcxx --with-as=/DIST/bin/mipsel-none-elf-as --with-ld=/DIST/bin/mipsel-none-elf-ld --enable-languages=c,c++ --prefix=/DIST || (cat /BUILD/config.log && exit 1)'
74
- RUN C:\m sys64\u sr\b in\b ash.exe -l -c 'make -C /c/gcc-13.2 .0/build all-gcc -j4'
75
- RUN C:\m sys64\u sr\b in\b ash.exe -l -c 'make -C /c/gcc-13.2 .0/build all-target-libgcc -j4'
76
- RUN C:\m sys64\u sr\b in\b ash.exe -l -c 'make -C /c/gcc-13.2 .0/build all-target-libstdc++-v3 -j4'
77
- RUN C:\m sys64\u sr\b in\b ash.exe -l -c 'make -C /c/gcc-13.2 .0/build install-strip-gcc install-strip-target-libgcc install-strip-target-libstdc++-v3'
73
+ RUN C:\m sys64\u sr\b in\b ash.exe -l -c 'mkdir /c/gcc-14.1 .0/build && cd /c/gcc-14.1 .0/build && ../configure --target=mipsel-none-elf --without-isl --disable-nls --disable-threads --disable-shared --disable-libssp --disable-libstdcxx-pch --disable-libgomp --disable-werror --without-headers --disable-hosted-libstdcxx --with-as=/DIST/bin/mipsel-none-elf-as --with-ld=/DIST/bin/mipsel-none-elf-ld --enable-languages=c,c++ --prefix=/DIST || (cat /BUILD/config.log && exit 1)'
74
+ RUN C:\m sys64\u sr\b in\b ash.exe -l -c 'make -C /c/gcc-14.1 .0/build all-gcc -j4'
75
+ RUN C:\m sys64\u sr\b in\b ash.exe -l -c 'make -C /c/gcc-14.1 .0/build all-target-libgcc -j4'
76
+ RUN C:\m sys64\u sr\b in\b ash.exe -l -c 'make -C /c/gcc-14.1 .0/build all-target-libstdc++-v3 -j4'
77
+ RUN C:\m sys64\u sr\b in\b ash.exe -l -c 'make -C /c/gcc-14.1 .0/build install-strip-gcc install-strip-target-libgcc install-strip-target-libstdc++-v3'
78
78
79
79
RUN C:\m sys64\u sr\b in\b ash.exe -l -c 'for t in cat cp echo mkdir rm touch which ; do cp /usr/bin/$t.exe /DIST/bin ; done'
80
80
RUN C:\m sys64\u sr\b in\b ash.exe -l -c 'cp /mingw64/bin/mingw32-make.exe /DIST/bin/make.exe'
81
81
RUN C:\m sys64\u sr\b in\b ash.exe -l -c 'cd /DIST && find . -name *.exe | while read bin ; do ldd $bin | cut -f2 -d\> | cut -f2 -d\ | grep -v /c/Windows/S | while read f ; do cp $f $(dirname $bin) ; done ; done || true'
82
82
83
- RUN C:\m sys64\u sr\b in\b ash.exe -l -c 'cd /DIST && zip /c/g++-mipsel-none-elf-13.2 .0.zip . -r'
83
+ RUN C:\m sys64\u sr\b in\b ash.exe -l -c 'cd /DIST && zip /c/g++-mipsel-none-elf-14.1 .0.zip . -r'
84
84
85
85
CMD C:\m sys64\u sr\b in\b ash.exe -l
0 commit comments