Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752805AbaGOOUt (ORCPT ); Tue, 15 Jul 2014 10:20:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:7301 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751027AbaGOOUp convert rfc822-to-8bit (ORCPT ); Tue, 15 Jul 2014 10:20:45 -0400 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: References: <1405413956-2772-1-git-send-email-lftan@altera.com> <4213.1405430178@warthog.procyon.org.uk> To: Richard Weinberger Cc: dhowells@redhat.com, Ley Foon Tan , Linux-Arch , LKML , "linux-doc@vger.kernel.org" , LeyFoon Tan , cltang@codesourcery.com Subject: Re: [PATCH v2 00/29] nios2 Linux kernel port MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <20543.1405434031.1@warthog.procyon.org.uk> Content-Transfer-Encoding: 8BIT Date: Tue, 15 Jul 2014 15:20:31 +0100 Message-ID: <20544.1405434031@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Richard Weinberger wrote: > Having it on https://www.kernel.org/pub/tools/crosstool/ would be also nice. Does the Fedora cross-compiler suite fit with your set? All the fedora cross-compilers are build from a single pair of SRPMS into a slew of binary RPMs and none of the resulting RPMs are relocatable (they all end up in /usr). The easiest way to install them is: yum install gcc-\*-linux-gnu For reference, the current rawhide SRPMs can be found here: https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/source/SRPMS/c/cross-binutils-2.24-4.fc21.src.rpm https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/source/SRPMS/c/cross-gcc-4.9.0-3.fc21.src.rpm I haven't yet pushed the NIOS2 arch changes (I'm waiting on a fix to allow me to build libgcc for Cris). I haven't applied any of your patches, though I do apply the same patches that are applied to the core Fedora binutils and gcc. Note that this URL linked to on your page: https://www.kernel.org/pub/tools/crosstool/patches/ does not seem to exist. The compilers that I have managed to produce and install on my system are: gcc-aarch64-linux-gnu gcc-alpha-linux-gnu gcc-arm-linux-gnu gcc-avr32-linux-gnu gcc-bfin-linux-gnu gcc-c6x-linux-gnu gcc-cris-linux-gnu gcc-frv-linux-gnu gcc-h8300-linux-gnu gcc-hppa-linux-gnu gcc-hppa64-linux-gnu gcc-ia64-linux-gnu gcc-m32r-linux-gnu gcc-m68k-linux-gnu gcc-microblaze-linux-gnu gcc-mips64-linux-gnu gcc-mn10300-linux-gnu gcc-nios2-linux-gnu gcc-powerpc64-linux-gnu gcc-ppc64-linux-gnu gcc-s390x-linux-gnu gcc-sh-linux-gnu gcc-sh64-linux-gnu gcc-sparc64-linux-gnu gcc-tile-linux-gnu gcc-x86_64-linux-gnu gcc-xtensa-linux-gnu All but cris, nios2, sh, sh64 and tile have a collection of libgcc built. I don't build i386, mips, powerpc, s390, sh4 and sparc as these are covered by the ones I do build. gcc doesn't support Metag or Openrisc, it considers Score obsolete and Hexagon and Unicore32 don't seem to have suitable binutils support. David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/