From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9817 invoked by alias); 8 May 2013 22:32:23 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 9803 invoked by uid 89); 8 May 2013 22:32:23 -0000 X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.1 Received: from mail-la0-f52.google.com (HELO mail-la0-f52.google.com) (209.85.215.52) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 08 May 2013 22:32:21 +0000 Received: by mail-la0-f52.google.com with SMTP id fm20so2264464lab.11 for ; Wed, 08 May 2013 15:32:18 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.112.147.229 with SMTP id tn5mr4181431lbb.112.1368052338876; Wed, 08 May 2013 15:32:18 -0700 (PDT) Received: by 10.112.59.165 with HTTP; Wed, 8 May 2013 15:32:18 -0700 (PDT) Date: Wed, 08 May 2013 22:32:00 -0000 Message-ID: Subject: Canadian build for AVR From: "jonsmirl@gmail.com" To: crossgcc@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-SW-Source: 2013-05/txt/msg00016.txt.bz2 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