mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-06-18 00:49:25 +02:00
Compare commits
13 Commits
update_win
...
update_rea
Author | SHA1 | Date | |
---|---|---|---|
4dcd7eeec1 | |||
ea4d106ed8 | |||
9098b1a478 | |||
cb7421fc79 | |||
77e7761286 | |||
9f3cbd5a17 | |||
e607d1252b | |||
b50710ea8f | |||
e1a1191559 | |||
ed5ecc293e | |||
6d00aa95f5 | |||
c06be541ac | |||
0f9beb211c |
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,5 +1,8 @@
|
||||
bin
|
||||
dockcross
|
||||
dockcross-*
|
||||
build
|
||||
build-*
|
||||
*/test/
|
||||
Dockerfile
|
||||
web-wasm/Dockerfile
|
||||
|
25
README.md
25
README.md
@ -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'
|
||||
@ -117,6 +118,17 @@ The dockcross script will execute the given command-line inside the container, a
|
||||
| dockcross/windows-armv7 | ARMv7 | Clang | Windows |
|
||||
| dockcross/windows-arm64 | ARMv8 | Clang | Windows |
|
||||
|
||||
The list of docker images that are **no longer maintained**.
|
||||
|
||||
| Image name | Target arch | Compiler | Target OS |
|
||||
|:-------:|:--------:|:------:|:-----:|
|
||||
| dockcross/manylinux1-x86 | x86 | GCC | manylinux |
|
||||
| dockcross/manylinux1-x64 | x86_64 | GCC| manylinux |
|
||||
| dockcross/manylinux2010-x86 | x86 | GCC | manylinux |
|
||||
| dockcross/manylinux2010-x64 | x86_64 | GCC | manylinux |
|
||||
| dockcross/linux-mipsel | mipsel | GCC 4.9 | Debian 8 |
|
||||
|
||||
|
||||
## Cross compilers
|
||||
|
||||
### dockcross/base
|
||||
@ -381,17 +393,6 @@ ARMv7 32-bit Windows cross-compiler based on [LLVM/MinGW-w64](https://github.com
|
||||
|
||||
ARMv8 64-bit Windows cross-compiler based on [llvm-mingw](https://github.com/mstorsjo/llvm-mingw)
|
||||
|
||||
## Summary legacy cross compilers
|
||||
|
||||
The list of docker images that are no longer supported or broken
|
||||
|
||||
| Image name | Target arch | Compiler | Target OS |
|
||||
|:-------:|:--------:|:------:|:-----:|
|
||||
| dockcross/manylinux1-x86 | x86 | GCC | manylinux |
|
||||
| dockcross/manylinux1-x64 | x86_64 | GCC| manylinux |
|
||||
| dockcross/manylinux2010-x86 | x86 | GCC | manylinux |
|
||||
| dockcross/manylinux2010-x64 | x86_64 | GCC | manylinux |
|
||||
|
||||
## Articles
|
||||
|
||||
- [dockcross: C++ Write Once, Run
|
||||
|
@ -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