xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: "Lele MA" <lelema.cn@gmail.com>
To: xen-devel@lists.xen.org
Subject: [Help] How to build mini-OS with libc support, like Newlib?
Date: Tue, 2 Sep 2014 15:20:32 +0800 (CST)	[thread overview]
Message-ID: <25cadf73.17a7c.148353c8946.Coremail.lelema.cn@gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 529 bytes --]

Hi all,


I am going to write my own applications in miniOS, and find it can't call the function xs_open which is available only if HAVE_LIBC is defined.


According to the README in mini-os, it suggests seeing the stubdom/ directory. But I still can not find how to do it.


So, does anyone know how to build mini-os with much better libc support? 

If Newlib can be used to build mini-os, how to do it? Do I have to compile a cross-compiler first?



Any help will be appreciated. Thanks in advance!


--

Best Regards,
Lele MA

[-- Attachment #1.2: Type: text/html, Size: 770 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

             reply	other threads:[~2014-09-02  7:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-02  7:20 Lele MA [this message]
2014-09-02  7:47 ` [Help] How to build mini-OS with libc support, like Newlib? Samuel Thibault
2014-09-02  9:36   ` Lele Ma
2014-09-02 10:55     ` Samuel Thibault
2014-09-05  8:40       ` Lele MA
2014-09-06  9:54         ` Samuel Thibault

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=25cadf73.17a7c.148353c8946.Coremail.lelema.cn@gmail.com \
    --to=lelema.cn@gmail.com \
    --cc=xen-devel@lists.xen.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 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).