OpenCores
URL https://opencores.org/ocsvn/core_arm/core_arm/trunk

Subversion Repositories core_arm

[/] [core_arm/] [trunk/] [soft/] [tbenchsoft/] [m68k/] [install.txt] - Rev 4

Compare with Previous | Blame | View Log

***************************************************
You have to install the m68k cross compiler toolchain 
first.  You might want to download it from www.l8arm.org 
or build it yourself (also setting the CROSSM68K variable 
inside build/Makefile.conf to the appropriate prefix).
For a quick start, to build the toolchain yourself do
the following:

1. download :
  binutils-2.14.tar.gz
  gcc-core-3.2.2.tar.gz
  newlib-1.12.0.tar.gz
2. decompress them to:  
  <basedir>
  +-binutils-2.14
  +-gcc-3.2.2 
  +-newlib-1.12.0
3. inside binutils-2.14:
  $ ./configure --prefix=/opt/m68k --target=m68k-elf
  $ make 
  $ make install
4. Add /opt/m68k/bin to $(PATH) + restart bash
5. inside gcc-3.2.2:
  $ ./configure --prefix=/opt/m68k --target=m68k-elf --with-gnu-as --with-gnu-ld --with-newlib
  $ make 
  $ make install

This should create m68k-elf-gcc in /opt/m68k/bin.

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.