Subject: Re: I think lib/copperplate depends on glibc while using dual kernel configuration.Am i right? References: <993ec258-fb69-cfa6-14f6-6cfb0967f9e8@web.de> From: Jan Kiszka Message-ID: <3a3ea92d-e856-7ff8-5ce4-50ba886847f7@web.de> Date: Sat, 11 Apr 2020 19:52:08 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: cern@tuta.io Cc: =?UTF-8?B?5a2Z5LiW6b6Z?= , xenomai On 11.04.20 18:45, cern@tuta.io wrote: > Hi, > Apr 11, 2020, 09:22 by xenomai@xenomai.org: > >> On 10.04.20 05:56, =E5=AD=99=E4=B8=96=E9=BE=99 via Xenomai wrote: >> >>> Hi, >>> I am using xenomai-3.1. >>> >>> Two figures are contained in url >>> https://gitlab.denx.de/Xenomai/xenomai/-/wikis/Start_Here. >>> >>> Since the architecture showed in figure 2 named xenomai 3 single ker= nel >>> configuration, i could draw the conclusion that copperplate interface >>> depends on the glibc. >>> >>> But i don't think i can draw the same conclusion from the Figure 1. >>> Xenomai 3 dual kernel configuration. >>> >>> When i enable the --enable-pshared compiler option, I could clearlly= see >>> the create_main_heap function calls shm_open which is provided by glib= c. >>> So, i think copperplate interface depends on glibc while using dual >>> kernel configuration.Am i right? >>> >> >> Xenomai does not replace a libc when using the cobalt mode. It only >> provides alternatives to certain time-sensitive services. So a libc, >> like glibc, remains a natural dependency, for Xenomai libs themselves a= s >> well as the target application. >> > What about musl or other libc interpretations? (I haven't tried it yet, = it's in my plan.) > It should work, but I didn't try myself. We have uclibc running, at least on some arch. Jan