From owner-freebsd-toolchain@FreeBSD.ORG Sat Sep 28 23:25:46 2013 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 016F8218 for ; Sat, 28 Sep 2013 23:25:46 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-ee0-x229.google.com (mail-ee0-x229.google.com [IPv6:2a00:1450:4013:c00::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8D687291A for ; Sat, 28 Sep 2013 23:25:45 +0000 (UTC) Received: by mail-ee0-f41.google.com with SMTP id d17so1921988eek.0 for ; Sat, 28 Sep 2013 16:25:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=z52ltavG8DK6EQoY+hrG5i2PdjE8dnj1A98XNDOI4jM=; b=YV/s5fwxyv5cv4fqXRIQKmCwxWF6TWyYcms/KWjGcS3XNhN419Sc++eV/sO+ciaAAE qHDRguXxBrsq4+NLdSQ+jW0rUnEH5yjPKqNcZgyNPjEQHc9pFkmqCGMV+oOvB3hkPMOw 4l/QlaPnL5wHqPoWcC4yY8XVFiL0NRcCkiUobI3SMMkFenZdGqKsCQmrsq5x7ZzP6x+D ynfuSJ0hBZu5hPnsU1rTKClNlcZHq2FSJ3bO2uCAaHveyJmz33RXYtzWN8A9PKvb1hGW 8wezNJIhskDCAIzWv6GTCbpiokuQ0ACvsF54P7KcOI6jmohk0QUhmy93H3+WKrJZ+R6Z mLTA== MIME-Version: 1.0 X-Received: by 10.15.100.198 with SMTP id bn46mr22929516eeb.11.1380410743902; Sat, 28 Sep 2013 16:25:43 -0700 (PDT) Received: by 10.14.105.137 with HTTP; Sat, 28 Sep 2013 16:25:43 -0700 (PDT) In-Reply-To: <363D1C17-6D3D-4A08-AB05-C374115BD8FE@andric.com> References: <363D1C17-6D3D-4A08-AB05-C374115BD8FE@andric.com> Date: Sat, 28 Sep 2013 16:25:43 -0700 Message-ID: Subject: Re: gcc failing for mips cross-compile From: hiren panchasara To: Dimitry Andric Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-toolchain X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Sep 2013 23:25:46 -0000 On Fri, Sep 27, 2013 at 2:33 PM, Dimitry Andric wrote: > On Sep 27, 2013, at 22:07, hiren panchasara > wrote: > ... > >> So, following worked: > >> sudo make TARGET=mips TARGET_ARCH=mipseb TARGET_CPUARCH=mips toolchain > >> > >> What does that mean? > >> > >> how do I get/know 32bit mips setup? > > Reading https://wiki.freebsd.org/FreeBSD/BuildingMIPS , it seems just > "mips" means 32-bit big-endian, using the old ABI. If you want the new > ABI, use "mipsn32" instead. > I have just tried "make TARGET=mips toolchain", and that seemed to work > fine. > Thanks a ton for clarification, Dimitry. Appreciate your help. Cheers, Hiren