mailing list of musl libc
 help / color / mirror / code / Atom feed
* Support for multiarch/multilib
@ 2015-11-17  6:15 Petr Hosek
  2015-11-17 15:06 ` Szabolcs Nagy
  0 siblings, 1 reply; 3+ messages in thread
From: Petr Hosek @ 2015-11-17  6:15 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 935 bytes --]

We're using musl in multiarch/multilib setup (i386/x86-64) and it works
fine, except for header duplication. Given two architectures,
i386-linux-gnu and x86_64-linux-gnu, I'd like to install the shared headers
into /usr/include, and install bits (what is normally in include/bits) for
each architecture into the respective subfolders
/usr/include/i386-linux-gnu/bits and /usr/x86_64-linux-gnu.

I can obviously achieve by copying/moving files after install, but I'd
prefer to have the support for that scenario directly in the Makefile.
Would you accept such patch?

There are two possible ways to implements this I can think of: (1) add a
separate targets such as install-arch-headers and install-generic-headers,
or (2) define additional Makefile variable such as includebits which would
be set to $(includedir)/bits by default but could be overridden when
invoking make. Do you have strong preference for either of these solutions?

[-- Attachment #2: Type: text/html, Size: 1017 bytes --]

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

end of thread, other threads:[~2015-11-17 15:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-17  6:15 Support for multiarch/multilib Petr Hosek
2015-11-17 15:06 ` Szabolcs Nagy
2015-11-17 15:36   ` Rich Felker

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).