comp.lang.ada
 help / color / mirror / Atom feed
* Libre GPL 2012 on Mac OS-X to AVR target?
@ 2013-09-01 16:03 John A
  2013-09-12  9:37 ` M. Enzmann
  0 siblings, 1 reply; 2+ messages in thread
From: John A @ 2013-09-01 16:03 UTC (permalink / raw)


Hello,

I've installed the Darwin version of GPL-2012 from the libre.adacore.com site on my MacBook Air with OS X 10.8.4. I was told this version had support for AVR targets so I reverted to 2012 from 2013.

I'm looking at the user's guide and in the code and I do not see how it will support AVR targets. 

I have CrossPack-AVR installed, but its avr-gcc does not appear to support Ada.

Can anyone point me to some additional source of info on how to make this work for the AVR ATmega328p target (Arduino Uno) on Mac OS-X? 

Thanks!

John Arnsparger

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Libre GPL 2012 on Mac OS-X to AVR target?
  2013-09-01 16:03 Libre GPL 2012 on Mac OS-X to AVR target? John A
@ 2013-09-12  9:37 ` M. Enzmann
  0 siblings, 0 replies; 2+ messages in thread
From: M. Enzmann @ 2013-09-12  9:37 UTC (permalink / raw)


Hello John,

AdaCore do have a GNAT2012 compiler that supports AVR, however not for 
Mac OS as the host-system. 

The only feasible way to cross-compile for AVR on a Mac would be, to 
install AVR-Ada. Not easy going however: 

http://sourceforge.net/p/avr-ada/wiki/Home/
http://sourceforge.net/projects/avr-ada/files/avr-ada/

You'd have to compile the binutils, gcc (with GNAT), the libc and 
the AVR-Ada runtime. I can be done (I managed once) but it's far 
from trivial. The main issue being, that the build instructions from 
Linux are only almost usable for Mac OS :-(

If you want to try it: good luck and happy coding afterwards.

Cheers,

Marc

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-09-12  9:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-01 16:03 Libre GPL 2012 on Mac OS-X to AVR target? John A
2013-09-12  9:37 ` M. Enzmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox