From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MHxEu-0001jO-9L for garchives@archives.gentoo.org; Sat, 20 Jun 2009 09:52:00 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 77C80E03B7; Sat, 20 Jun 2009 09:51:59 +0000 (UTC) Received: from mail-bw0-f223.google.com (mail-bw0-f223.google.com [209.85.218.223]) by pigeon.gentoo.org (Postfix) with ESMTP id 2F296E03D8 for ; Sat, 20 Jun 2009 09:51:58 +0000 (UTC) Received: by mail-bw0-f223.google.com with SMTP id 23so1964332bwz.34 for ; Sat, 20 Jun 2009 02:51:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=s5PbmMX+ZuQ+tiSaB0/IMKanj2oqfUJ+DLsyLnx+/O4=; b=jmQh0TCJVhoPenwSo1zLC4XG4u4RyIxoOMguHfHUMq6xxmpHW9ghVv0ljPkR42sSkS B+w0xDdLpe7cIN+S5U+wC3BxzMuIRry1itIp+wqF16G/zGIEt0YxkQ/KiseQGDshy/A1 MXSvkKa4XoJqNKmrtG5yZP/pRT8m9IamrBysY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=JNP3HZmLogafqjCstiS3/xU+Eq3fRduU0DBRuBlF4TykP1IGfVcsaD54sdLFLk+nSS mgfmmshNYxXiWW1eQpYqI09ZnGRtvwCkIlawB1Flv/eTKTdrA6ZA6c7v8L9zBBjR5jiY tIz5bAh+LFgMEZbiXrnnCse2YCSkhmGpfDLsc= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Received: by 10.223.104.74 with SMTP id n10mr3076189fao.5.1245491518729; Sat, 20 Jun 2009 02:51:58 -0700 (PDT) In-Reply-To: <4A3CAC89.2050906@gentoo.org> References: <4A3CA9E1.20101@gentoo.org> <4A3CAC89.2050906@gentoo.org> Date: Sat, 20 Jun 2009 13:51:58 +0400 Message-ID: Subject: Re: [gentoo-embedded] sparcv8 gcc From: =?KOI8-R?B?88XSx8XKIO3J0s/Oz9c=?= To: gentoo-embedded@lists.gentoo.org Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 6a8d094b-dbe7-4743-b613-90bfb346325b X-Archives-Hash: 1a6e3a995911c2def7189f4b87108d90 2009/6/20 Ra=A8=B2l Porcel : > =A7=B3=A7=D6=A7=E2=A7=D4=A7=D6=A7=DB =A7=AE=A7=DA=A7=E2=A7=E0=A7=DF=A7=E0= =A7=D3 wrote: >> Hm, ok, i get it. But is any way to compile sparc envirment for leon3 >> proc without fpu? >> Maybe its possible to use sparcv8-unknown-linux-gnu and >> USE=3D"softfloat" (or similar) ? >> >> 2009/6/20 Ra=A8=B2l Porcel : >>> =A7=B3=A7=D6=A7=E2=A7=D4=A7=D6=A7=DB =A7=AE=A7=DA=A7=E2=A7=E0=A7=DF=A7= =E0=A7=D3 wrote: >>>> Hi! I'm trying to build cross-enviroment for >>>> sparcv8-softfloat-linux-gnueabi, but without luck. >>>> >>>> gcc 4.3.2 (and 4.4.0) failes to build with message: >>>> ... >>>> checking whether string.h and strings.h may both be included... yes >>>> checking for .preinit_array/.init_array/.fini_array support... yes >>>> checking how to run the C preprocessor... yes >>>> checking if mkdir takes one argument... i686-pc-linux-gnu-gcc -E >>>> no >>>> *** Configuration sparcv8-softfloat-linux-gnu not supported >>>> checking for egrep... grep -E >>>> checking for ANSI C header files... yes >>>> checking for sys/types.h... make[1]: *** [configure-gcc] Error 1 >>>> make[1]: *** Waiting for unfinished jobs.... >>>> yes >>>> checking for sys/stat.h... yes >>>> ... >>>> make[1]: Leaving directory >>>> `/var/tmp/cross/sparcv8-softfloat-linux-gnueabi/portage/cross-sparcv8-= softfloat-linux-gnueabi/gcc-4.3.2-r3/work/build' >>>> make: *** [all] Error 2 >>>> >>>> Does anybody know combination of versions of gcc-glibc that works? >>>> >>> AFAIK gnueabi is only for ppc and ARM. Also softfloat(specifying it on >>> the CHOST on gentoo) is for arm only. >>> >>> >> >> >> > > http://gcc.gnu.org/onlinedocs/gcc-4.4.0/gcc/SPARC-Options.html#SPARC-Opti= ons > You'll need to use -mno-fpu on the CFLAGS. And again, the -softfloat- > thing on the CHOST is gentoo-specific and only applies to ARM. > > Thanks! i'll try it as soon as i can.