Skip to content

Commit

Permalink
Add the tool checking files
Browse files Browse the repository at this point in the history
  • Loading branch information
EtchedPixels committed Jan 15, 2024
1 parent 260b903 commit e605bbf
Show file tree
Hide file tree
Showing 21 changed files with 200 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Tools/build-6303
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh

X=`which as68`
if [ "$X" = "" ]; then
(cd ../Applications/assembler; make -f Cross.6800)
fi

X=`which cc68`
if [ "$X" = "" ]; then
echo "CC68 is required: see https://github.com/EtchedPixels/CC6303/"
fi
9 changes: 9 additions & 0 deletions Tools/build-6502
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

X=`which cc65`
if [ "$X" = "" ]; then
echo "CC65 is required"
else
echo -n "cc65: "
cc65 -V
fi
9 changes: 9 additions & 0 deletions Tools/build-65c816
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

X=`which cc65`
if [ "$X" = "" ]; then
echo "CC65 is required"
else
echo -n "cc65: "
cc65 -V
fi
11 changes: 11 additions & 0 deletions Tools/build-6800
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh

X=`which as68`
if [ "$X" = "" ]; then
(cd ../Applications/assembler; make -f Cross.6800)
fi

X=`which cc68`
if [ "$X" = "" ]; then
echo "CC68 is required: see https://github.com/EtchedPixels/CC6303/"
fi
6 changes: 6 additions & 0 deletions Tools/build-68000
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

X=`which m68k-elf-gcc`
if [ "$X" = "" ]; then
echo "gcc: m68k-elf-gcc is required"
fi
11 changes: 11 additions & 0 deletions Tools/build-6803
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh

X=`which as68`
if [ "$X" = "" ]; then
(cd ../Applications/assembler; make -f Cross.6800)
fi

X=`which cc68`
if [ "$X" = "" ]; then
echo "CC68 is required: see https://github.com/EtchedPixels/CC6303/"
fi
10 changes: 10 additions & 0 deletions Tools/build-6809
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh

X=`which m6809-unknown-gcc`
if [ "$X" = "" ]; then
echo "GCC is required: see http://www.lwtools.ca/"
fi
X=`which lwasm`
if [ "$X" = "" ]; then
echo "LWTools is required: http://www.lwtools.ca/"
fi
6 changes: 6 additions & 0 deletions Tools/build-68hc11
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

X=`which m6811-elf-gcc`
if [ "$X" = "" ]; then
echo "gcc: m6811-elf-gcc is required"
fi
13 changes: 13 additions & 0 deletions Tools/build-8080
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh

if [ -e /opt/cc85/bin/cc85 ]; then
echo "cc85: installed"
exit 0
fi

cd Applications/assembler
make -f Cross.8085
make -f Cross.8085 install

echo "Now install the Fuzix Compiler Kit"
echo "https://github.com/EtchedPixels/Fuzix-Compiler-Kit.git"
13 changes: 13 additions & 0 deletions Tools/build-8085
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh

if [ -e /opt/cc85/bin/cc85 ]; then
echo "cc85: installed"
exit 0
fi

cd Applications/assembler
make -f Cross.8085
make -f Cross.8085 install

echo "Now install the Fuzix Compiler Kit"
echo "https://github.com/EtchedPixels/Fuzix-Compiler-Kit.git"
6 changes: 6 additions & 0 deletions Tools/build-armm0
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

X=`which /opt/gcc-arm-eabi/bin/arm-none-eabi-gcc`
if [ "$X" = "" ]; then
echo "gcc: /opt/gcc-arm-eabi/bin/arm-none-eabi-gcc"
fi
6 changes: 6 additions & 0 deletions Tools/build-armm4
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

X=`which /opt/gcc-arm-eabi/bin/arm-none-eabi-gcc`
if [ "$X" = "" ]; then
echo "gcc: /opt/gcc-arm-eabi/bin/arm-none-eabi-gcc"
fi
6 changes: 6 additions & 0 deletions Tools/build-esp8266
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

X=`xtensa-lx106-elf-gcc`
if [ "$X" = "" ]; then
echo "gcc: xtensa-lx106-elf-gcc is required"
fi
6 changes: 6 additions & 0 deletions Tools/build-ns32k
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

X=`which ns32k-pc532-netbsd-gcc`
if [ "$X" = "" ]; then
echo "gcc: ns32k-pc532-netbsd-gcc"
fi
6 changes: 6 additions & 0 deletions Tools/build-riscv32
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

X=`which riscv-unknown-elf-gcc`
if [ "$X" = "" ]; then
echo "gcc: riscv-unknown-elf-gcc"
fi
13 changes: 13 additions & 0 deletions Tools/build-tms9995
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh

if [ -e /opt/cc9995/bin/cc9995 ]; then
echo "cc9995: installed"
exit 0
fi

cd Applications/assembler
make -f Cross.tms9995
make -f Cross.tms9995 install

echo "Now install the ANSI PCC for TMS9995"
echo "https://github.com/EtchedPixels/pcc-tms9995"
12 changes: 12 additions & 0 deletions Tools/build-wrx6
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/sh

if [ -e /opt/aswrx6/bin/ccwrx6 ]; then
echo "ccwrx6: installed"
exit 0
fi

cd Applications/assembler
make -f Cross.wrx6
make -f Cross.wrx6 install

echo "Now install the Centurion cross compiler"
13 changes: 13 additions & 0 deletions Tools/build-z180
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh

if [ -e /opt/ccz80/bin/ccz80 ]; then
echo "ccz80: installed"
exit 0
fi

cd Applications/assembler
make -f Cross.z80
make -f Cross.z80 install

echo "Now install the Fuzix Compiler Kit"
echo "https://github.com/EtchedPixels/Fuzix-Compiler-Kit.git"
13 changes: 13 additions & 0 deletions Tools/build-z280
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh

if [ -e /opt/ccz80/bin/ccz80 ]; then
echo "ccz80: installed"
exit 0
fi

cd Applications/assembler
make -f Cross.z80
make -f Cross.z80 install

echo "Now install the Fuzix Compiler Kit"
echo "https://github.com/EtchedPixels/Fuzix-Compiler-Kit.git"
7 changes: 7 additions & 0 deletions Tools/build-z80
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh
(./build-z80)
#
# And check for SDCC TODO
#
echo "This target also requires the banked SDCC 3.8 is installed"

13 changes: 13 additions & 0 deletions Tools/build-z80u
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh

if [ -e /opt/ccz80/bin/ccz80 ]; then
echo "ccz80: installed"
exit 0
fi

cd Applications/assembler
make -f Cross.z80
make -f Cross.z80 install

echo "Now install the Fuzix Compiler Kit"
echo "https://github.com/EtchedPixels/Fuzix-Compiler-Kit.git"

0 comments on commit e605bbf

Please sign in to comment.