public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* Canadian build for AVR
@ 2013-05-08 22:32 jonsmirl
  2013-05-09 10:49 ` Martin Guy
  0 siblings, 1 reply; 11+ messages in thread
From: jonsmirl @ 2013-05-08 22:32 UTC (permalink / raw)
  To: crossgcc

I've been trying to do a Canadian build for the Avr32 without much
success. I get lots of different compile failures depending on which
releases of the various components I pick.

I used this approach..

apt-get install avc-gcc, etc...
This is for building the libraries. Haven't gotten that far yet.

Download OpenWrt git, select a target of MIPS Ralink 3050. That will
build the MIPS cross compiler with uclibc support for the target.
Many gcc verisions to pick from including the linaro builds. This step
works fine.

Use crosstool-ng to try and do the Canadian build.
build = x86
host = mipsel + uclibc
target = avr bare metal.
point it at the OpenWrt compiler.

I tried a dozen different versions of the various tools and couldn't
get anything to finish a compile.
I also don't see how to set the host for a uclibc build.

My crazy idea is to repurpose routers as a cheap IDE for Arduinos. I
need the avr compiler on the router to do that. The routers only have
32-64MB of memory and slow flash for disk. So native compilation of
something large (like gcc) is painful.

--
Jon Smirl
jonsmirl@gmail.com

--
For unsubscribe information see http://sourceware.org/lists.html#faq

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

end of thread, other threads:[~2013-07-02 21:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-08 22:32 Canadian build for AVR jonsmirl
2013-05-09 10:49 ` Martin Guy
2013-05-09 12:15   ` jonsmirl
2013-05-09 22:26     ` jonsmirl
2013-05-09 23:12       ` jonsmirl
2013-05-10 13:26         ` Ben Greenfield
2013-05-10 14:33           ` jonsmirl
2013-05-11  3:33             ` jonsmirl
2013-07-02 19:15               ` Trevor Woerner
2013-07-02 21:16                 ` jonsmirl
2013-07-02 21:19                   ` jonsmirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).