EmbDev.net

Forum: ARM programming with GCC/GNU tools building a cross toolchain for 68k, avr and arm


Author: alexander (Guest)
Posted on:

Rate this post
0 useful
not useful
Hi,

some time ago i wanted to use a current gcc for my development.
I wasn't happy with the toolchains i could download - too old compilers.
Thus i decided to compile the toolchain myself.

For this purpose, i have created a script which does all the downloading 
and compiling.

The toolchain build script supports the target architectures
* m68k-elf
* avr
* arm-none-eabi.

The toolchain can be built in the following environments
* debian
* fedora
* windows (inside a msys2 shell)

For each environment there is a script to install the required packages 
to build the toolchain
The script is available at https://github.com/haarer/toolchain68k

I use the self built toolchain for all my embedded development.
Since i am quite happy using a recent compiler (gcc 7.2 :) i think it 
might be worth to share it with others.

Under windows and atmel studio it is also very simple to integrate the 
toolchain into atmel studio. It works also together with eclipse.

There are also some examples and makefiles in the repository for 68k and 
arduino development.

Have fun!
Alexander
http://haarer.github.io

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig