From 18a8c23e94e54706b4622a99c4b0ed2906064923 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Tue, 20 Apr 2021 02:40:06 +0100 Subject: [PATCH] Add x86_64 for AROS. --- cross-x86_64-aros/Dockerfile | 20 ++++++++++++++++++++ cross-x86_64-aros/README.md | 19 +++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 cross-x86_64-aros/Dockerfile create mode 100644 cross-x86_64-aros/README.md diff --git a/cross-x86_64-aros/Dockerfile b/cross-x86_64-aros/Dockerfile new file mode 100644 index 0000000..a475c2f --- /dev/null +++ b/cross-x86_64-aros/Dockerfile @@ -0,0 +1,20 @@ +FROM amigadev/crosstools:x86_64-aros + +LABEL maintainer="claunia@claunia.com" + +RUN apt-get update && apt-get install -y ssh gdb cmake rsync tar python && apt-get clean + +RUN ( \ + echo 'LogLevel DEBUG2'; \ + echo 'PermitRootLogin yes'; \ + echo 'PasswordAuthentication yes'; \ + echo 'Subsystem sftp /usr/lib/openssh/sftp-server'; \ + ) > /etc/ssh/sshd_config_remote_dev \ + && mkdir /run/sshd + +RUN useradd -m user \ + && yes password | passwd user + +RUN usermod -s /bin/bash user + +CMD ["/usr/sbin/sshd" "-D" "-e" "-f" "/etc/ssh/sshd_config_remote_dev"] \ No newline at end of file diff --git a/cross-x86_64-aros/README.md b/cross-x86_64-aros/README.md new file mode 100644 index 0000000..f3caa58 --- /dev/null +++ b/cross-x86_64-aros/README.md @@ -0,0 +1,19 @@ +# Cross compilation environment + +| | | +|--------------------------:|:--------------------------------------------------| +| **Compiler:** | 9.1.0 | +| **Target architecture:** | x86_64 | +| **Target OS:** | AROS | +| **AS:** | `/opt/x86_64-aros/bin/x86_64-aros-as` | +| **LD:** | `/opt/x86_64-aros/bin/x86_64-aros-ld` | +| **AR:** | `/opt/x86_64-aros/bin/x86_64-aros-ar` | +| **CC:** | `/opt/x86_64-aros/bin/x86_64-aros-gcc` | +| **CXX:** | `/opt/x86_64-aros/bin/x86_64-aros-g++` | +| **RANLIB:** | `/opt/x86_64-aros/bin/x86_64-aros-ranlib` | +| **CMake toolchain file:** | `/opt/x86_64-aros/lib/x86_64-aros.cmake` | +| **SSH daemon:** | *Yes* | +| **Username:** | `user` | +| **Password:** | `password` | + +Installed using [Marlon Beijer's Docker image](https://hub.docker.com/layers/amigadev/crosstools/x86_64-aros).