Compare commits

..

13 Commits

Author SHA1 Message Date
4dcd7eeec1 Update build example in readme
Update build example in readme

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-11-03 20:54:39 +01:00
ea4d106ed8 Merge pull request #632 from thewtex/sudo-wrapper-bash
imagefiles: gosu sudo wrapper requires bash
2021-11-02 21:14:37 -04:00
9098b1a478 imagefiles: gosu sudo wrapper requires bash
Addresses:

  /usr/local/bin/sudo: 5: 2: not found

that occurs during sudo execution.
2021-10-31 21:31:40 -04:00
cb7421fc79 Merge pull request #631 from bensuperpc/add_tbb
Add tbb
2021-10-26 09:40:43 -04:00
77e7761286 Update Dockerfile.in 2021-10-25 00:09:39 +02:00
9f3cbd5a17 Add tbb
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-10-24 19:29:02 +02:00
e607d1252b Merge pull request #630 from bensuperpc/update_windows_image 2021-10-20 14:11:23 -04:00
b50710ea8f Merge pull request #629 from bensuperpc/update_readme
Update readme
2021-10-20 16:55:57 +02:00
e1a1191559 Update readme
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-10-19 14:30:16 +02:00
ed5ecc293e Update text
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-10-18 10:52:20 +02:00
6d00aa95f5 Update text
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-10-18 10:51:55 +02:00
c06be541ac Bold some words
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-10-18 10:49:04 +02:00
0f9beb211c Update readme
move image list

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-10-18 10:46:38 +02:00
6 changed files with 24 additions and 13 deletions

3
.gitignore vendored
View File

@ -1,5 +1,8 @@
bin
dockcross
dockcross-*
build
build-*
*/test/
Dockerfile
web-wasm/Dockerfile

View File

@ -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

View File

@ -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

View File

@ -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 \

View File

@ -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

View File

@ -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 \