From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31245 invoked by alias); 12 Sep 2009 08:12:15 -0000 Received: (qmail 31235 invoked by uid 22791); 12 Sep 2009 08:12:14 -0000 X-SWARE-Spam-Status: No, hits=0.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_JMF_BL X-Spam-Check-By: sourceware.org Received: from smtp28.orange.fr (HELO smtp28.orange.fr) (80.12.242.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 12 Sep 2009 08:12:08 +0000 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2808.orange.fr (SMTP Server) with ESMTP id 6823D7000097; Sat, 12 Sep 2009 10:12:06 +0200 (CEST) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2808.orange.fr (SMTP Server) with ESMTP id 5A680700009C; Sat, 12 Sep 2009 10:12:06 +0200 (CEST) Received: from r-lnx-leminkainen.bzh.lan (ARennes-252-1-23-141.w83-195.abo.wanadoo.fr [83.195.156.141]) by mwinf2808.orange.fr (SMTP Server) with ESMTP id 36DEB7000097; Sat, 12 Sep 2009 10:12:06 +0200 (CEST) From: "Yann E. MORIN" To: crossgcc@sourceware.org Subject: Re: crosstool-ng, armv7 and GCC-4.3.3 Date: Sat, 12 Sep 2009 08:12:00 -0000 User-Agent: KMail/1.9.9 Cc: Martin Guy , "gisfri@tin.it" References: <404582.2253041252523544143.JavaMail.defaultUser@defaultHost> <56d259a00909110325k59dbbb2kf0156de1b6dbded8@mail.gmail.com> In-Reply-To: <56d259a00909110325k59dbbb2kf0156de1b6dbded8@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909121012.05601.yann.morin.1998@anciens.enib.fr> X-IsSubscribed: yes 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 X-SW-Source: 2009-09/txt/msg00051.txt.bz2 Fabio, Martin, All, On Friday 11 September 2009 12:25:21 Martin Guy wrote: > On 9/9/09, gisfri@tin.it wrote: > > I'm trying to build a toolchain for armv7-a with crosstool-ng 1.4.2 > > with GCC-4.3.3, but the process fails in compiler stage, with > > Unknown arch used in --with-arch=armv7-a > > (maybe because support for armv7 was > > added with GCC-4.4.0?) > > man gcc-4.3 says -march=name ... armv7, armv7-a, armv7-r, armv7-m > so it "should just work". Yes, it should. But it does not: ./configure does not accept the same --with-arch= values as -march= accepts. :-( > I suggest you dig down to find out exactly which script is emitting > that error message, and go from there Or use gcc-4.4, which knows about armv7-a at ./configure time. This requires that you use crosstool-NG from the development tree. Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +0/33 662376056 | Software Designer | \ / CAMPAIGN | ___ | | --==< ^_^ >==-- `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | `------------------------------^-------^------------------^--------------------' -- For unsubscribe information see http://sourceware.org/lists.html#faq