From owner-freebsd-arm@FreeBSD.ORG Thu Jun 4 14:00:59 2009 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6DDD10656C1 for ; Thu, 4 Jun 2009 14:00:59 +0000 (UTC) (envelope-from vassilis.laganakos@yahoo.com) Received: from n20.bullet.mail.mud.yahoo.com (n20.bullet.mail.mud.yahoo.com [68.142.206.147]) by mx1.freebsd.org (Postfix) with SMTP id 5D73C8FC2F for ; Thu, 4 Jun 2009 14:00:59 +0000 (UTC) (envelope-from vassilis.laganakos@yahoo.com) Received: from [68.142.200.226] by n20.bullet.mail.mud.yahoo.com with NNFMP; 04 Jun 2009 13:47:51 -0000 Received: from [76.13.13.25] by t7.bullet.mud.yahoo.com with NNFMP; 04 Jun 2009 13:47:51 -0000 Received: from [76.13.10.168] by t4.bullet.mail.ac4.yahoo.com with NNFMP; 04 Jun 2009 13:47:51 -0000 Received: from [127.0.0.1] by omp109.mail.ac4.yahoo.com with NNFMP; 04 Jun 2009 13:47:51 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 468393.97927.bm@omp109.mail.ac4.yahoo.com Received: (qmail 90798 invoked by uid 60001); 4 Jun 2009 13:47:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1244123271; bh=0W1N2VVQDmfV3m1jGfPoKTkV49cSN4oOR7IClmBYc98=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=l68DqWeZ1YPYox2wMtFW29N3UtEsDcxWbTeB9kl6uWqPQevUTJzaVLwbcH3Zj3z4SJH1d3EyUAFMatT/aO2GUzRno7O0kkmXkPTTmzrUzHa6Ghzwj8hAeiELGoJ0wylAujxkHxynVUXICteRTwGb/1bIrNJLQpEnDuhdFcz1jVM= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=P7M5WfrrUZKP2sPw5TQ+0kFtgr6WOCnGXbVxvW0kJra1gyzBtxHFeAMJAGBIjUCYdGfXA/kWDu2+xWPJfrz/FmqDNm0w16qEvj8PiqxzLEsVpnI7Lw38bE54iq3sU6qyqLDhSpG8Hg1/uJDzBx0nlOhkJlW+wm86JqYKRoQ+06o=; Message-ID: <360403.90502.qm@web59402.mail.ac4.yahoo.com> X-YMail-OSG: oM1rUNgVM1kG0joVPCUYbJo.Hnn2RV3ANFAY8bREOt.ACxGPS4DwcSWslLdcX2TYv.9vUabo2GPP3boMyh5uty8sHRMay9yYOrFdkG.EUmPoDCcJ4Ys9MpoSO.kf2NrCb_QKVuFlqCBbU1Z581e54Gc0Ee_.lMGUJSVd7rz8Jc3.UgmV6u914Hhrs5unh2TgkCcu8y2vGXlWs5JH_S1.JLiAc1jGCVtYKqkPioTzNfm7uD8nNucko50rfvsmIMQDFn1ap5R5OHJL0ZLQoA-- Received: from [217.140.96.21] by web59402.mail.ac4.yahoo.com via HTTP; Thu, 04 Jun 2009 06:47:51 PDT X-Mailer: YahooMailRC/1357.15 YahooMailWebService/0.7.289.10 References: Date: Thu, 4 Jun 2009 06:47:51 -0700 (PDT) From: Vassilis Laganakos To: Guillaume Ballet In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-arm@freebsd.org, chuckr@telenix.org Subject: Re: ARMv7 - EABI - Cross Compiler X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2009 14:01:00 -0000 > > Doesn't xdev build the 4.2.1 version of gcc, like what's in the tree now? > > That's unacceptable to me, gcc didn't bring in support for the Cortex-A8 > > processor until 4.3.0. I was able to build a cross-gcc easily using a target > of > > "arm-linux-gnueabi", but I'm not sure if that sort of gcc will do for building > > FreeBSD. I'll worry about getting that gcc into the build, but will it work > for > > me on a binary basis? > > > > I used arm-none-eabi to compile my loader for the BeagleBoard so as to > get rid of the linux-specific stuff by default. But maybe you should > define something like arm-freebsd-eabi in gcc's build configuration? > The arm-none-eabi will give you stuff for bare-metal applications, and the arm-linux-eabi (or arm-linux-gnueabi) will give you stuff for linux. For FreeBSD now, from what I've read there is no arm-freebsd-eabi; I tried that when I built GCC 4.4.1 and it wouldn't accept it. What I've build is arm-unknown-freebsd, although the "unknown" part could be ommited. Please bear with me while I look for the URL I found the naming conventions... Thanks, Vasi