From: Marcin Cieslak Subject: Re: Error when Glib cross compiled into Mini-OS without the support of "_POSIX_THREADS" Date: Thu, 25 Sep 2014 16:56:16 +0000 (UTC) Message-ID: References: <1411642565.16473.18.camel@kazak.uk.xensource.com> <1451d253.d45e.148acdce46e.Coremail.lelema.zh@gmail.com> Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="1563967779-2071053751-1411663932=:75482" Return-path: In-Reply-To: <1451d253.d45e.148acdce46e.Coremail.lelema.zh@gmail.com> Content-ID: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Lele MA Cc: Ian Campbell , xen-devel List-Id: xen-devel@lists.xenproject.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1563967779-2071053751-1411663932=:75482 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-15; FORMAT=flowed Content-Transfer-Encoding: 8BIT Content-ID: On Thu, 25 Sep 2014, Lele MA wrote: > > >AFAIK mini-os doesn't supply a POSIX thread API, correct. > > > >I don't think anything else in the current stubdom infra (e.g. newlib) > >supplies one either. > > > >> If so, can I still use the glib in the Mini-OS without the support of > >> "_POSIX_THREADS"? > > > >That would be a question for the glib maintainers. At a minimum I'd > >expect you would need to port glib to the mini-os thread API. > > > > > > Thank you so much!  > > My ultimate goal is to use libvmi in mini-os.  > And libvmi needs glib's support.  > So I needs to cross-compile glib into mini-os firstly. libvmi seems to use only simple list interface (GSList) from glib and probably not much more. It does not need threads and such stuff. It is probably much easier to supply some C list implementation to libvmi and get rid of glib dependency completely. //Marcin --1563967779-2071053751-1411663932=:75482 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --1563967779-2071053751-1411663932=:75482--