mailing list of musl libc
 help / color / mirror / code / Atom feed
* Building multilib musl?
@ 2016-06-16 14:56 Masanori Ogino
  2016-06-16 15:21 ` Rich Felker
  0 siblings, 1 reply; 3+ messages in thread
From: Masanori Ogino @ 2016-06-16 14:56 UTC (permalink / raw)
  To: musl

Hello,

How can we build musl for a multilib environment? I could not find
multilib configuration, so I guess we need to build musl for each
configuration to accomplish. Is it correct?

-- 
Masanori Ogino


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Building multilib musl?
  2016-06-16 14:56 Building multilib musl? Masanori Ogino
@ 2016-06-16 15:21 ` Rich Felker
  2016-06-17 12:07   ` Masanori Ogino
  0 siblings, 1 reply; 3+ messages in thread
From: Rich Felker @ 2016-06-16 15:21 UTC (permalink / raw)
  To: musl

On Thu, Jun 16, 2016 at 11:56:22PM +0900, Masanori Ogino wrote:
> Hello,
> 
> How can we build musl for a multilib environment? I could not find
> multilib configuration, so I guess we need to build musl for each
> configuration to accomplish. Is it correct?

Yes, but it's designed so that you can easily host them all on the
same system. For dynamic linking, the dynamic linker for each has a
different name and reads a different path config file (matching its
name) from /etc, so you just need to install your libs to separate
paths. For static linking it's all just a matter of how you do your
build environment since the libs don't even need to be present at
runtime.

Rich


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Building multilib musl?
  2016-06-16 15:21 ` Rich Felker
@ 2016-06-17 12:07   ` Masanori Ogino
  0 siblings, 0 replies; 3+ messages in thread
From: Masanori Ogino @ 2016-06-17 12:07 UTC (permalink / raw)
  To: musl

2016-06-17 0:21 GMT+09:00 Rich Felker <dalias@libc.org>:
> On Thu, Jun 16, 2016 at 11:56:22PM +0900, Masanori Ogino wrote:
>> Hello,
>>
>> How can we build musl for a multilib environment? I could not find
>> multilib configuration, so I guess we need to build musl for each
>> configuration to accomplish. Is it correct?
>
> Yes, but it's designed so that you can easily host them all on the
> same system. For dynamic linking, the dynamic linker for each has a
> different name and reads a different path config file (matching its
> name) from /etc, so you just need to install your libs to separate
> paths. For static linking it's all just a matter of how you do your
> build environment since the libs don't even need to be present at
> runtime.
>
> Rich

OK, now it is clear to me. Thank you!

-- 
Masanori Ogino


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-17 12:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-16 14:56 Building multilib musl? Masanori Ogino
2016-06-16 15:21 ` Rich Felker
2016-06-17 12:07   ` Masanori Ogino

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).