Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fkokosinski/pdp1-playground
PDP-1 shenanigans with modern tooling
https://github.com/fkokosinski/pdp1-playground
binutils compiler gcc pdp pdp-1 pdp1 retro retrocomputing vintage-computers
Last synced: 2 months ago
JSON representation
PDP-1 shenanigans with modern tooling
- Host: GitHub
- URL: https://github.com/fkokosinski/pdp1-playground
- Owner: fkokosinski
- License: mit
- Created: 2024-06-02T21:10:53.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-07-19T19:43:59.000Z (7 months ago)
- Last Synced: 2024-07-19T22:59:08.736Z (7 months ago)
- Topics: binutils, compiler, gcc, pdp, pdp-1, pdp1, retro, retrocomputing, vintage-computers
- Language: C
- Homepage:
- Size: 16.6 KB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PDP-1 Playground
## Dependencies
```
sudo apt-get install git build-essential flex bison texinfo libgmp3-dev libmpfr-dev libmpc-dev simh dejagnu
```## Building binutils
```
cd pdp1-binutils
./configure --target=pdp1-elf --disable-sim
make -j $(nproc)
sudo make install
```## Building gcc
```
mkdir -p build-gcc
cd build-gcc
../pdp1-gcc/configure --target=pdp1-elf --enable-languages=c --disable-bootstrap --enable-gcov=no --enable-shared=no
make -j $(nproc) all-gcc
make -j $(nproc) all-target-libgcc
```## Building and running samples
```
cd c-print-for-loop
make main.s main.rim run
```## Running tests
```
runtest --srcdir $(pwd)
```