Gentoo Archives: gentoo-embedded

From: wireless <wireless@×××××××××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] sparcv8 gcc
Date: Tue, 23 Jun 2009 14:01:29
Message-Id: 4A40E166.8030507@tampabay.rr.com
In Reply to: Re: [gentoo-embedded] sparcv8 gcc by "Сергей Миронов"
1 óÅÒÇÅÊ íÉÒÏÎÏ× wrote:
2 >>> http://gcc.gnu.org/onlinedocs/gcc-4.4.0/gcc/SPARC-Options.html#SPARC-Options
3 >>> You'll need to use -mno-fpu on the CFLAGS. And again, the -softfloat-
4 >>> thing on the CHOST is gentoo-specific and only applies to ARM.
5
6 >> Thanks! i'll try it as soon as i can.
7
8 > Hi.
9 > man gcc says about -mno-fpu in SPARC section that "... you need to
10 > compile libgcc.a, the library that comes with GCC, with -msoft-float
11 > in order for this to work". So i try that:
12
13 Well, I'm not up on the sparc architecture. But, maybe there
14 are different versions of the sparc chipsets that have different
15 hardware (read some with fpu some without). I know that
16 is true amongst the Arm chipsets. Maybe a little research to
17 actually verify that the Sparc chipset you are compiling
18 on, actually has a fully functional FPU or not needs clarification?
19 Furthermore, if this is a Motherboard from SUN or a sparc clone
20 vendor, the FPU might be a separate, discreet chip....who knows....
21
22 In the old days, Solbourne, Tatung and Sun all did funky things
23 with the Sparc Architecture...... I think the Euro Space agency
24 even designed and built some sparc chipsets. If they are on a FPGA,
25 who knows the details of some funky SOC design. That may or maynot
26 be the source of your issues.
27
28
29 just a thought,
30 hth,
31
32
33 James

Replies

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