Git Product home page Git Product logo

m68k-elf-gcc's Introduction

m68k-elf Toolset

Toolset for the Motorola 68000 for use with SGDK and other bare-metal environments. It includes the following components:

  • GCC 13.2.0
  • GDB 13.2
  • Newlib 4.3.0.20230120

Cloning

This repository uses submodules. To clone the repository use the command below.

git clone --recursive https://github.com/iratahack/m68k-elf-gcc.git

Scripts

The build scripts in this repository are:

  • crosstool-build.sh
    • Builds the toolset natively for Ubuntu 22.04 and Windows (mingw32)

Using with SGDK

Integration with SGDK is not 100% seamless. Follow the steps below to integrate with SGDK.

  • Extract the archive containing the m68k-elf development tools
  • Setup your path to include <installdir>/m68k-elf/bin (extracted from the tool archive)
  • Remove the existing tool binaries from the SGDK directory listed below
bin/ar.exe bin/as.exe bin/cc1.exe bin/cpp.exe bin/gcc.exe bin/gdb.exe bin/ld.exe bin/libgcc_s_dw2-1.dll bin/libgmp-10.dll bin/libiconv-2.dll bin/liblto_plugin-0.dll bin/libmpc-3.dll bin/libmpfr-4.dll bin/lto-wrapper.exe bin/lto1.exe bin/nm.exe bin/objcopy.exe bin/objdump.exe bin/size.exe lib/libgcc.a
  • Set the PREFIX environment variable to m68k-elf-
  • Copy these files to your SGDK directory

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.