From owner-freebsd-toolchain@FreeBSD.ORG Fri Sep 27 21:34:03 2013 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E925725A for ; Fri, 27 Sep 2013 21:34:03 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A9FEE2C45 for ; Fri, 27 Sep 2013 21:34:03 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::9cd:61ab:a630:284c] (unknown [IPv6:2001:7b8:3a7:0:9cd:61ab:a630:284c]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 961C75C44; Fri, 27 Sep 2013 23:33:57 +0200 (CEST) Content-Type: multipart/signed; boundary="Apple-Mail=_43C676ED-09DD-4FA3-B520-1986DC787D65"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: gcc failing for mips cross-compile From: Dimitry Andric In-Reply-To: Date: Fri, 27 Sep 2013 23:33:48 +0200 Message-Id: <363D1C17-6D3D-4A08-AB05-C374115BD8FE@andric.com> References: To: hiren panchasara X-Mailer: Apple Mail (2.1510) 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: Fri, 27 Sep 2013 21:34:04 -0000 --Apple-Mail=_43C676ED-09DD-4FA3-B520-1986DC787D65 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Sep 27, 2013, at 22:07, hiren panchasara = wrote: ... >> So, following worked: >> sudo make TARGET=3Dmips TARGET_ARCH=3Dmipseb TARGET_CPUARCH=3Dmips = toolchain >>=20 >> What does that mean? >>=20 >> 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=3Dmips toolchain", and that seemed to = work fine. --Apple-Mail=_43C676ED-09DD-4FA3-B520-1986DC787D65 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) iEYEARECAAYFAlJF+cMACgkQsF6jCi4glqPsdwCfVmkttLJinrHUrIpd6lITJyfn EkwAn2CYoQbOO08jmM24m5xSTR+N/xQA =hKcX -----END PGP SIGNATURE----- --Apple-Mail=_43C676ED-09DD-4FA3-B520-1986DC787D65--