From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12855 invoked by alias); 7 Feb 2010 21:17:20 -0000 Received: (qmail 12842 invoked by uid 22791); 7 Feb 2010 21:17:19 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-fx0-f225.google.com (HELO mail-fx0-f225.google.com) (209.85.220.225) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 07 Feb 2010 21:17:16 +0000 Received: by fxm25 with SMTP id 25so3564740fxm.12 for ; Sun, 07 Feb 2010 13:17:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.239.137.211 with SMTP id m19mr586240hbm.34.1265577433441; Sun, 07 Feb 2010 13:17:13 -0800 (PST) In-Reply-To: <201001282154.32020.yann.morin.1998@anciens.enib.fr> References: <1264705034-10236-1-git-send-email-linux@bohmer.net> <201001282154.32020.yann.morin.1998@anciens.enib.fr> Date: Sun, 07 Feb 2010 21:17:00 -0000 Message-ID: <3efb10971002071317t73af772bq28a22fbd6e4303fd@mail.gmail.com> Subject: Re: [PATCH] Add basic m68k support to crosstool-ng From: Remy Bohmer To: "Yann E. MORIN" Cc: crossgcc@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: 2010-02/txt/msg00028.txt.bz2 Hi, 2010/1/28 Yann E. MORIN : > Hello Remy, All! > > Whaoo! Very nice! Thank you for the submission! :-) > > I have however a few questions, see below... > > On Thursday 28 January 2010 19:57:14 Remy Bohmer wrote: >> +config ARCH_m68k >> + =A0 =A0select ARCH_SUPPORTS_32 >> + =A0 =A0select ARCH_DEFAULT_32 >> + =A0 =A0select ARCH_DEFAULT_BE >> + =A0 =A0select ARCH_SUPPORT_CPU > > From the gcc man page, it seems you can also pass -march and -mtune. > Did you exclude those on purpose, or is it a oversight? Looking deeper into this it seems that: * if GCC is compiled with --with-arch=3Dm68k (ARCH_ARCH=3Dm68k) then the build of newlib eventually fails because its compilation passes -march=3Dm68k to GCC, which is an illegal value for GCC itself. * If GCC is compiled with 'ARCH_ARCH=3Dcpu32', which is valid for -march for GCC as listed on the man-pages, then the compilation of GCC fails since it does not like this option to be passed through --with-arch. * --with-tune is not supported either, although --with-cpu works properly. Any ideas? Kind regards, Remy -- For unsubscribe information see http://sourceware.org/lists.html#faq