Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
docker-images
Commits
2f4b349e
Commit
2f4b349e
authored
Aug 24, 2016
by
Hugo Beauzée-Luyssen
Committed by
Konstantin Pavlov
Aug 25, 2016
Browse files
WinRT: Update to gcc5.4
Signed-off-by:
Konstantin Pavlov
<
thresh@videolan.org
>
parent
18f47a22
Changes
2
Hide whitespace changes
Inline
Side-by-side
vlc-winrt/toolchain-i686/Dockerfile
View file @
2f4b349e
...
...
@@ -18,16 +18,18 @@ COPY windowsapp.a.patch .
COPY
getstartupinfo.patch .
COPY
switchtothread.patch .
ENV
GCC_VERSION=5.4.0
RUN
mkdir
/build
&&
cd
/build
&&
\
mkdir
$TOOLCHAIN_PREFIX
&&
\
mkdir
$MINGW_PREFIX
&&
\
ln
-s
$MINGW_PREFIX
$TOOLCHAIN_PREFIX
/mingw
&&
\
wget
-q
http://ftp.gnu.org/gnu/binutils/binutils-2.26.tar.bz2
&&
\
wget
-q
ftp://ftp.uvsq.fr/pub/gcc/releases/gcc-
5.3.0/gcc-5.3.0
.tar.bz2
&&
\
wget
-q
ftp://ftp.uvsq.fr/pub/gcc/releases/gcc-
$GCC_VERSION
/gcc-
$GCC_VERSION
.tar.bz2
&&
\
git config
--global
user.name
"VideoLAN Buildbot"
&&
\
git config
--global
user.email buildbot@videolan.org
&&
\
git clone
--depth
=
1 git://git.code.sf.net/p/mingw-w64/mingw-w64
&&
\
tar
xf gcc-
5.3.0
.tar.bz2
&&
\
tar
xf gcc-
$GCC_VERSION
.tar.bz2
&&
\
tar
xf binutils-2.26.tar.bz2
&&
\
cd
binutils-2.26
&&
mkdir
build
&&
cd
build
&&
\
../configure
--prefix
=
$TOOLCHAIN_PREFIX
--target
=
$TARGET_TUPLE
\
...
...
@@ -43,10 +45,10 @@ RUN mkdir /build && cd /build && \
tar
xf mpfr-3.1.4.tar.gz
&&
\
tar
xf gmp-6.1.0.tar.xz
&&
\
tar
xf mpc-1.0.3.tar.gz
&&
\
ln
-s
/build/mpfr-3.1.4 gcc-
5.3.0
/mpfr
&&
\
ln
-s
/build/gmp-6.1.0 gcc-
5.3.0
/gmp
&&
\
ln
-s
/build/mpc-1.0.3 gcc-
5.3.0
/mpc
&&
\
cd
gcc-
5.3.0
&&
mkdir
build
&&
cd
build
&&
\
ln
-s
/build/mpfr-3.1.4 gcc-
$GCC_VERSION
/mpfr
&&
\
ln
-s
/build/gmp-6.1.0 gcc-
$GCC_VERSION
/gmp
&&
\
ln
-s
/build/mpc-1.0.3 gcc-
$GCC_VERSION
/mpc
&&
\
cd
gcc-
$GCC_VERSION
&&
mkdir
build
&&
cd
build
&&
\
../configure
--prefix
=
$TOOLCHAIN_PREFIX
\
--target
=
$TARGET_TUPLE
\
--enable-languages
=
c,c++
\
...
...
@@ -63,7 +65,7 @@ RUN mkdir /build && cd /build && \
--host
=
$TARGET_TUPLE
&&
\
make
-j4
&&
\
make
install
&&
\
cd
/build/gcc-
5.3.0
/build
&&
\
cd
/build/gcc-
$GCC_VERSION
/build
&&
\
make
-j4
&&
\
make
install
&&
\
cd
/build/mingw-w64/mingw-w64-libraries/winstorecompat
&&
\
...
...
vlc-winrt/toolchain-x86_64/Dockerfile
View file @
2f4b349e
...
...
@@ -11,6 +11,7 @@ ENV TARGET_TUPLE=x86_64-w64-mingw32
ENV
TOOLCHAIN_PREFIX=/opt/gcc-$TARGET_TUPLE
ENV
MINGW_PREFIX=$TOOLCHAIN_PREFIX/$TARGET_TUPLE
ENV
PATH=$TOOLCHAIN_PREFIX/bin:$PATH
ENV
GCC_VERSION=5.4.0
COPY
no-rtl-func.patch .
COPY
missing-snprintf.patch .
...
...
@@ -24,7 +25,7 @@ RUN mkdir /build && cd /build && \
mkdir
$MINGW_PREFIX
&&
\
ln
-s
$MINGW_PREFIX
$TOOLCHAIN_PREFIX
/mingw
&&
\
wget
-q
http://ftp.gnu.org/gnu/binutils/binutils-2.26.tar.bz2
&&
\
wget
-q
ftp://ftp.uvsq.fr/pub/gcc/releases/gcc-
5.3.0/gcc-5.3.0
.tar.bz2
&&
\
wget
-q
ftp://ftp.uvsq.fr/pub/gcc/releases/gcc-
$GCC_VERSION
/gcc-
$GCC_VERSION
.tar.bz2
&&
\
git config
--global
user.name
"VideoLAN Buildbot"
&&
\
git config
--global
user.email buildbot@videolan.org
&&
\
git clone
--depth
=
1 git://git.code.sf.net/p/mingw-w64/mingw-w64
&&
\
...
...
@@ -34,7 +35,7 @@ RUN mkdir /build && cd /build && \
git am ../../getstartupinfo.patch
&&
\
git am ../../switchtothread.patch
&&
\
cd
..
&&
\
tar
xf gcc-
5.3.0
.tar.bz2
&&
\
tar
xf gcc-
$GCC_VERSION
.tar.bz2
&&
\
tar
xf binutils-2.26.tar.bz2
&&
\
cd
binutils-2.26
&&
mkdir
build
&&
cd
build
&&
\
../configure
--prefix
=
$TOOLCHAIN_PREFIX
--target
=
$TARGET_TUPLE
\
...
...
@@ -49,10 +50,10 @@ RUN mkdir /build && cd /build && \
tar
xf mpfr-3.1.4.tar.gz
&&
\
tar
xf gmp-6.1.0.tar.xz
&&
\
tar
xf mpc-1.0.3.tar.gz
&&
\
ln
-s
/build/mpfr-3.1.4 gcc-
5.3.0
/mpfr
&&
\
ln
-s
/build/gmp-6.1.0 gcc-
5.3.0
/gmp
&&
\
ln
-s
/build/mpc-1.0.3 gcc-
5.3.0
/mpc
&&
\
cd
gcc-
5.3.0
&&
mkdir
build
&&
cd
build
&&
\
ln
-s
/build/mpfr-3.1.4 gcc-
$GCC_VERSION
/mpfr
&&
\
ln
-s
/build/gmp-6.1.0 gcc-
$GCC_VERSION
/gmp
&&
\
ln
-s
/build/mpc-1.0.3 gcc-
$GCC_VERSION
/mpc
&&
\
cd
gcc-
$GCC_VERSION
&&
mkdir
build
&&
cd
build
&&
\
../configure
--prefix
=
$TOOLCHAIN_PREFIX
\
--target
=
$TARGET_TUPLE
\
--enable-languages
=
c,c++
\
...
...
@@ -67,7 +68,7 @@ RUN mkdir /build && cd /build && \
--host
=
$TARGET_TUPLE
&&
\
make
-j4
&&
\
make
install
&&
\
cd
/build/gcc-
5.3.0
/build
&&
\
cd
/build/gcc-
$GCC_VERSION
/build
&&
\
make
-j4
&&
\
make
install
&&
\
cd
/build/mingw-w64/mingw-w64-libraries/winstorecompat
&&
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment