Mega-Micro's
Microcomputer projects new & old
Mega-Micros Home
12 Edgefield Close
Redditch B98 7WB
ENGLAND
 
+44 (0)7973 265572
info@mega-micros.co.uk
68000 68030 CPLD FPGA ARM
SHOP        
Systems
68000 CPU
68000 CPU-2
68000 CPU-2.1
Backplane
Backplane-2
Memory
Memory-2
Memory-3
Memory-3.1
Hex Display
Dual 6850
Dual 6850-2
68681
68230
68230-2
ACRTC
IDE
IDE-2
Protoboard
Other Boards
Software
  EASy68K
  WSL & Linux
  GCC
  Quartus II
  C-Kermit
  CP/M-68K
  OTHER
Programming
Documents
Datasheets
Quick Tips
Blog
 
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
 
 
Disclaimer
All hardware designs, software, and information shared on this website is provided "as is"
without warranty of any kind and strictly for personal non-commercial use only.
 
 
Website V0.97 (C) 2021 Mega-Micros
Status: under construction
Mega-Micros Home
12 Edgefield Close
Redditch B98 7WB
ENGLAND
 
+44 (0)7973 265572
info@mega-micros.co.uk