-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
51a6a14
commit 895a2cb
Showing
2 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,33 @@ | ||
# 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 | ||
``` | ||
cd pdp1-gcc | ||
./configure --target=pdp1-elf --enable-languages=c --disable-bootstrap | ||
make -j $(nproc) all-gcc | ||
``` | ||
|
||
## Building and running samples | ||
|
||
``` | ||
cd c-print-for-loop | ||
make main.s main.rim run | ||
``` | ||
|
||
## Running tests | ||
``` | ||
runtest --srcdir $(pwd) | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters