Gentoo Archives: gentoo-embedded

From: "Сергей Миронов" <ierton@×××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] sparcv8 gcc
Date: Sat, 20 Jun 2009 09:52:00
Message-Id: aa09d86e0906200251l7f41f99bu6752fc5a07cd4aa5@mail.gmail.com
In Reply to: Re: [gentoo-embedded] sparcv8 gcc by "Raúl Porcel"
1 2009/6/20 Ra迆l Porcel <armin76@g.o>:
2 > 妊快把忍快抄 妙我把抉扶抉志 wrote:
3 >> Hm, ok, i get it. But is any way to compile sparc envirment for leon3
4 >> proc without fpu?
5 >> Maybe its possible to use sparcv8-unknown-linux-gnu and
6 >> USE="softfloat" (or similar) ?
7 >>
8 >> 2009/6/20 Ra迆l Porcel <armin76@g.o>:
9 >>> 妊快把忍快抄 妙我把抉扶抉志 wrote:
10 >>>> Hi! I'm trying to build cross-enviroment for
11 >>>> sparcv8-softfloat-linux-gnueabi, but without luck.
12 >>>>
13 >>>> gcc 4.3.2 (and 4.4.0) failes to build with message:
14 >>>> ...
15 >>>> checking whether string.h and strings.h may both be included... yes
16 >>>> checking for .preinit_array/.init_array/.fini_array support... yes
17 >>>> checking how to run the C preprocessor... yes
18 >>>> checking if mkdir takes one argument... i686-pc-linux-gnu-gcc -E
19 >>>> no
20 >>>> *** Configuration sparcv8-softfloat-linux-gnu not supported
21 >>>> checking for egrep... grep -E
22 >>>> checking for ANSI C header files... yes
23 >>>> checking for sys/types.h... make[1]: *** [configure-gcc] Error 1
24 >>>> make[1]: *** Waiting for unfinished jobs....
25 >>>> yes
26 >>>> checking for sys/stat.h... yes
27 >>>> ...
28 >>>> make[1]: Leaving directory
29 >>>> `/var/tmp/cross/sparcv8-softfloat-linux-gnueabi/portage/cross-sparcv8-softfloat-linux-gnueabi/gcc-4.3.2-r3/work/build'
30 >>>> make: *** [all] Error 2
31 >>>>
32 >>>> Does anybody know combination of versions of gcc-glibc that works?
33 >>>>
34 >>> AFAIK gnueabi is only for ppc and ARM. Also softfloat(specifying it on
35 >>> the CHOST on gentoo) is for arm only.
36 >>>
37 >>>
38 >>
39 >>
40 >>
41 >
42 > http://gcc.gnu.org/onlinedocs/gcc-4.4.0/gcc/SPARC-Options.html#SPARC-Options
43 > You'll need to use -mno-fpu on the CFLAGS. And again, the -softfloat-
44 > thing on the CHOST is gentoo-specific and only applies to ARM.
45 >
46 >
47
48 Thanks! i'll try it as soon as i can.

Replies

Subject Author
Re: [gentoo-embedded] sparcv8 gcc "Сергей Миронов" <ierton@×××××.com>