GCC |
The GNU Compiler
Collection (GCC) is an optimizing compiler produced by
the GNU Project team. It supports various programming
languages, hardware architectures, and operating systems.
This page provides
instructions on installing and using GCC for Linux as a
680x0 cross-assembler/compiler. It is assumed the main
OS is Windows 10 with WSL & Linux already installed. |
|
Installing
GCC |
|
Sign in to
Linux and at the $ prompt enter the
following commands: |
|
sudo apt-get
update |
sudo apt-get
-y install gcc-m68k-linux-gnu |
|
The GNU Compiler
Collection (GCC) for m68k architecture is now installed. |
|
We now have an
Assembler, C Compiler, Linker, and an Object Copy tool
that can be used to produce binary files for the
Motorola 680x0
family of processors. |
|
Getting
help with the Assembler |
|
m68k-linux-gnu-as -help |
|
Getting
help with the C Compiler |
|
m68k-linux-gnu-gcc --help |
|
Getting
help with the Linker |
|
m68k-linux-gnu-ld -help |
|
Getting
help with the Object Copy tool |
|
m68k-linux-gnu-objcopy -help |
|
|