From: David Daney <ddaney@avtrex.com>
To: Matej Kupljen <matej.kupljen@ultra.si>
Cc: linux-mips@linux-mips.org
Subject: Re: MIPS SF toolchain
Date: Wed, 07 Sep 2005 08:33:36 -0700 [thread overview]
Message-ID: <431F0850.8090804@avtrex.com> (raw)
In-Reply-To: <1126098584.12696.19.camel@localhost.localdomain>
Matej Kupljen wrote:
> Hi
>
> Can somebody tell me, what is the right way to make a soft float
> toolchain. I tried with crosstool with different flags for configure
> and gcc, but the resulting binaries still contains the FP instructions,
> like swc1.
>
> I used --with-float=soft and --nfp for gcc configure,
> --without-fp for glibc configure, and compiled glibc
> with -msoft-float flag.
>
> Am I missing something, or am I using the wrong flags?
>
> GCC: 3.3.5
> GLIBC: 2.3.5
> BINUTILS: 2.15
On gcc 3.3.x --with-float=soft does nothing. If you are using a MIPS32
ISA processor you can configure it with --target=mipsisa32[el]-linux to
get soft float and MIPS32 ISA by default.
But even better would be to use gcc 3.4.x or 4.0.x where
--with-float=soft works. I would also recommend binutils 2.16.1 or
above as there are some severe bugs in the mips linker in earlier versions.
David Daney.
next prev parent reply other threads:[~2005-09-07 15:26 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-07 13:09 MIPS SF toolchain Matej Kupljen
2005-09-07 13:54 ` sjhill
2005-09-07 15:33 ` David Daney [this message]
2005-09-08 8:41 ` Matej Kupljen
2005-09-08 11:33 ` Matej Kupljen
2005-09-08 12:22 ` Matej Kupljen
2005-09-08 12:29 ` Ralf Baechle
2005-09-08 13:48 ` Dan Kegel
2005-09-08 15:29 ` David Daney
2005-09-09 6:48 ` Matej Kupljen
2005-09-09 15:20 ` David Daney
2005-09-12 7:33 ` Matej Kupljen
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=431F0850.8090804@avtrex.com \
--to=ddaney@avtrex.com \
--cc=linux-mips@linux-mips.org \
--cc=matej.kupljen@ultra.si \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.