Add PowerPC for MorphOS.

This commit is contained in:
2021-04-20 02:39:09 +01:00
parent 09ae352dc9
commit ac28f1623e
2 changed files with 39 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
FROM amigadev/crosstools:ppc-morphos
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"]

View File

@@ -0,0 +1,19 @@
# Cross compilation environment
| | |
|--------------------------:|:--------------------------------------------------|
| **Compiler:** | 9.2.0 |
| **Target architecture:** | PowerPC |
| **Target OS:** | MorphOS |
| **AS:** | `/opt/ppc-morphos/bin/ppc-morphos-as` |
| **LD:** | `/opt/ppc-morphos/bin/ppc-morphos-ld` |
| **AR:** | `/opt/ppc-morphos/bin/ppc-morphos-ar` |
| **CC:** | `/opt/ppc-morphos/bin/ppc-morphos-gcc` |
| **CXX:** | `/opt/ppc-morphos/bin/ppc-morphos-g++` |
| **RANLIB:** | `/opt/ppc-morphos/bin/ppc-morphos-ranlib` |
| **CMake toolchain file:** | `/opt/ppc-morphos/lib/ppc-morphos.cmake` |
| **SSH daemon:** | *Yes* |
| **Username:** | `user` |
| **Password:** | `password` |
Installed using [Marlon Beijer's Docker image](https://hub.docker.com/layers/amigadev/crosstools/ppc-morphos).