/a2560k-gcc

Newlib syscalls and linker script for Foenix A2560K computer

Primary LanguageCMIT LicenseMIT

a2560k-gcc

Newlib syscalls and linker script for Foenix A2560K computer

Setup

make
make install

Usage

  • Sample Makefile for building hello.c
CC=/opt/m68k-toolchain/bin/m68k-elf-gcc

ALL: hello.pgz

hello.pgz: hello.elf
	elf2pgz hello.elf hello.pgz

hello.elf:
	$(CC) -T a2560k.ld -o hello.elf hello.c

clean:
	rm hello.elf hello.pgz