[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gm2] new gm2-avr package uploaded to floppsie

From: Gaius Mulley
Subject: [Gm2] new gm2-avr package uploaded to floppsie
Date: Thu, 13 Oct 2016 17:32:50 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)


I've built gm2 as a cross compiler for the avr using the latest
gcc-4.7.4 graft of gm2.  The package is built against debian jessie.
If you want to install it on debian, alter your /etc/apt/sources.list
to include:

#  GNU Modula-2 repo

deb jessie main
deb-src jessie main

and then from the terminal:

$ sudo apt-get update
$ sudo apt-get install gm2-avr

and to produce a tiny a.out for the atmega328 one could:

$ avr-gm2 -mmcu=atmega8 -fno-pth -fno-exceptions -flibs=min -g tiny.mod

hope this is useful


reply via email to

[Prev in Thread] Current Thread [Next in Thread]