From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Jonathan Richardson <jonathan.richardson@broadcom.com>,
poky@yoctoproject.org
Subject: Re: gcc multilib
Date: Thu, 18 Feb 2016 21:19:31 +0000 [thread overview]
Message-ID: <1455830371.28376.97.camel@linuxfoundation.org> (raw)
In-Reply-To: <782f4c4196c1be19342a12a8b784662b@mail.gmail.com>
On Thu, 2016-02-18 at 12:01 -0800, Jonathan Richardson wrote:
> We have a machine configured for hard floating point. This builds a
> hard fp version of libgcc. We also have some bootloaders and other
> code that require libgcc but use soft fp. I would prefer to keep the
> bootloaders using soft fp. Is there a way to configure libgcc to
> produce both hard and soft fp versions of libraries? There are
> multilib examples for 32 and 64 versions of libs but it’s not clear
> to me how to specify other compiler options to produce multiple
> versions of the libraries.
The bigger question you face is where these binaries expect your libgcc
and perhaps dynamic loader to reside. Its straight forward enough to
configure the system to build two versions with different tunes but one
would need to live in /lib and the other in /lib32 or some other /libXX
location. The way the multilib setup works, it doesn't really care
which configuration you use for a given location.
Cheers,
Richard
next prev parent reply other threads:[~2016-02-18 21:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-18 20:01 gcc multilib Jonathan Richardson
2016-02-18 21:19 ` Richard Purdie [this message]
[not found] ` <CAHrpVsXD-FhB1pNkZqwLwWzY9L1R29LPvzUuWpz-U36hrmsZVQ@mail.gmail.com>
2016-02-19 1:58 ` Jonathan Richardson
2016-02-25 21:12 ` Jonathan Richardson
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=1455830371.28376.97.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=jonathan.richardson@broadcom.com \
--cc=poky@yoctoproject.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 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.