mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-06-17 16:39:25 +02:00
Compare commits
9 Commits
update_rea
...
update_rea
Author | SHA1 | Date | |
---|---|---|---|
4dcd7eeec1 | |||
ea4d106ed8 | |||
9098b1a478 | |||
cb7421fc79 | |||
77e7761286 | |||
9f3cbd5a17 | |||
e607d1252b | |||
b50710ea8f | |||
7cd0ce9f5d |
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,5 +1,8 @@
|
||||
bin
|
||||
dockcross
|
||||
dockcross-*
|
||||
build
|
||||
build-*
|
||||
*/test/
|
||||
Dockerfile
|
||||
web-wasm/Dockerfile
|
||||
|
@ -56,7 +56,8 @@ Only 64-bit x86_64 images are provided, a 64-bit x86_64 host system is required.
|
||||
For the impatient, here\'s how to compile a hello world for armv7:
|
||||
|
||||
```bash
|
||||
cd ~/src/dockcross
|
||||
git clone https://github.com/dockcross/dockcross.git
|
||||
cd dockcross
|
||||
docker run --rm dockcross/linux-armv7 > ./dockcross-linux-armv7
|
||||
chmod +x ./dockcross-linux-armv7
|
||||
./dockcross-linux-armv7 bash -c '$CC test/C/hello.c -o hello_arm'
|
||||
|
@ -15,8 +15,8 @@
|
||||
# ARG MXE_TARGET_LINK=shared
|
||||
#
|
||||
|
||||
# mxe master 2021-08-04
|
||||
ARG MXE_GIT_TAG=91e21fc4bc0775790b0a7cc3f7da4aef89637a0f
|
||||
# mxe master 2021-10-18
|
||||
ARG MXE_GIT_TAG=8838ac3938cd8e47424a4cb5d3676d1ae9a4d670
|
||||
|
||||
ENV CMAKE_TOOLCHAIN_FILE /usr/src/mxe/usr/${MXE_TARGET_ARCH}-w64-mingw32.${MXE_TARGET_LINK}${MXE_TARGET_THREAD}/share/cmake/mxe-conf.cmake
|
||||
|
||||
|
@ -16,7 +16,7 @@ gosu nobody true
|
||||
# is created in /usr/local/bin
|
||||
|
||||
cat << EOF >> /usr/local/bin/sudo
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
# Emulate the sudo command
|
||||
SUDO_USER=root
|
||||
SUDO_GROUP=root
|
||||
|
@ -7,6 +7,11 @@ LABEL maintainer="Matt McCormick matt.mccormick@kitware.com"
|
||||
ARG REPO_URL=https://repo.or.cz/tinycc.git
|
||||
ENV REPO_URL=${REPO_URL}
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get -y install \
|
||||
libtbb-dev \
|
||||
&& apt-get clean --yes
|
||||
|
||||
# Disable options: --with-libgcc --disable-static
|
||||
RUN git clone --recurse-submodules --remote-submodules ${REPO_URL} \
|
||||
&& cd tinycc \
|
||||
|
@ -6,6 +6,7 @@ RUN apt-get update && \
|
||||
apt-get -y install \
|
||||
libelf-dev \
|
||||
libssl-dev \
|
||||
libtbb-dev \
|
||||
&& apt-get clean --yes
|
||||
|
||||
ENV CROSS_TRIPLE x86_64-linux-gnu
|
||||
|
@ -7,6 +7,7 @@ RUN dpkg --add-architecture i386 && \
|
||||
gcc-multilib \
|
||||
g++-multilib \
|
||||
libc6:i386 \
|
||||
libtbb-dev:i386 \
|
||||
libstdc++6:i386 \
|
||||
libbz2-dev:i386 \
|
||||
libexpat1-dev:i386 \
|
||||
|
Reference in New Issue
Block a user