public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Сергей Миронов" <ierton@gmail.com>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] sparcv8 gcc
Date: Sat, 20 Jun 2009 13:51:58 +0400	[thread overview]
Message-ID: <aa09d86e0906200251l7f41f99bu6752fc5a07cd4aa5@mail.gmail.com> (raw)
In-Reply-To: <4A3CAC89.2050906@gentoo.org>

2009/6/20 Raúl Porcel <armin76@gentoo.org>:
> Сергей Миронов 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="softfloat" (or similar) ?
>>
>> 2009/6/20 Raúl Porcel <armin76@gentoo.org>:
>>> Сергей Миронов 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-Options
> 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.



  reply	other threads:[~2009-06-20  9:52 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-19  6:13 [gentoo-embedded] sparcv8 gcc Сергей Миронов
2009-06-20  9:20 ` Raúl Porcel
2009-06-20  9:24   ` Сергей Миронов
2009-06-20  9:31     ` Raúl Porcel
2009-06-20  9:51       ` Сергей Миронов [this message]
2009-06-23 12:40         ` Сергей Миронов
2009-06-23 14:06           ` wireless
2009-06-24 12:30             ` Сергей Миронов
2009-06-24 16:13               ` Peter Stuge
2009-07-01  8:40                 ` Сергей Миронов
2009-07-19 18:18                   ` Mike Frysinger
2009-07-20 19:33                     ` Peter Stuge
2009-07-20 21:32                       ` Сергей Миронов
2009-07-20 22:00                         ` Peter Stuge
2009-07-25  5:53                           ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aa09d86e0906200251l7f41f99bu6752fc5a07cd4aa5@mail.gmail.com \
    --to=ierton@gmail.com \
    --cc=gentoo-embedded@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox