Skip to content

Commit

Permalink
Add unprefixed gcc binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
mati865 committed Dec 24, 2023
1 parent 7ec2910 commit b78fcb1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ RUN PATH=/root/x-tools/x86_64-w64-mingw32/bin:$PATH ct-ng build && \
mv /root/x-tools-cross-native/HOST-x86_64-w64-mingw32/x86_64-w64-mingw32/x86_64-w64-mingw32/sysroot/usr/x86_64-w64-mingw32/bin/*.dll /root/x-tools-cross-native/HOST-x86_64-w64-mingw32/x86_64-w64-mingw32/bin/ && \
mv /root/x-tools-cross-native/HOST-x86_64-w64-mingw32/x86_64-w64-mingw32/x86_64-w64-mingw32/sysroot/lib/*.dll /root/x-tools-cross-native/HOST-x86_64-w64-mingw32/x86_64-w64-mingw32/bin/ && \
rm -rf /root/x-tools-cross-native/HOST-x86_64-w64-mingw32/x86_64-w64-mingw32/x86_64-w64-mingw32/lib/lib* && \
cp /root/x-tools-cross-native/HOST-x86_64-w64-mingw32/x86_64-w64-mingw32/bin/x86_64-w64-mingw32-gcc.exe /root/x-tools-cross-native/HOST-x86_64-w64-mingw32/gcc.exe && \
cp /root/x-tools-cross-native/HOST-x86_64-w64-mingw32/x86_64-w64-mingw32/bin/x86_64-w64-mingw32-g++.exe /root/x-tools-cross-native/HOST-x86_64-w64-mingw32/g++.exe && \
tar -achf x86_64-w64-mingw32.tar.zst -C /root/x-tools-cross-native/HOST-x86_64-w64-mingw32 x86_64-w64-mingw32

COPY config.cross-native32 .config
Expand All @@ -48,4 +50,6 @@ RUN PATH=/root/x-tools/i686-w64-mingw32/bin:$PATH ct-ng build && \
mv /root/x-tools-cross-native/HOST-i686-w64-mingw32/i686-w64-mingw32/i686-w64-mingw32/sysroot/usr/i686-w64-mingw32/bin/*.dll /root/x-tools-cross-native/HOST-i686-w64-mingw32/i686-w64-mingw32/bin/ && \
mv /root/x-tools-cross-native/HOST-i686-w64-mingw32/i686-w64-mingw32/i686-w64-mingw32/sysroot/lib/*.dll /root/x-tools-cross-native/HOST-i686-w64-mingw32/i686-w64-mingw32/bin/ && \
rm -rf /root/x-tools-cross-native/HOST-i686-w64-mingw32/i686-w64-mingw32/i686-w64-mingw32/lib/lib* && \
cp /root/x-tools-cross-native/HOST-i686-w64-mingw32/i686-w64-mingw32/bin/i686-w64-mingw32-gcc.exe /root/x-tools-cross-native/HOST-i686-w64-mingw32/gcc.exe && \
cp /root/x-tools-cross-native/HOST-i686-w64-mingw32/i686-w64-mingw32/bin/i686-w64-mingw32-g++.exe /root/x-tools-cross-native/HOST-i686-w64-mingw32/g++.exe && \
tar -achf i686-w64-mingw32.tar.zst -C /root/x-tools-cross-native/HOST-i686-w64-mingw32 i686-w64-mingw32

0 comments on commit b78fcb1

Please sign in to comment.