| To: | xen-devel@xxxxxxxxxxxxxxxxxxx |
|---|---|
| Subject: | [Xen-devel] [PATCH] Allow use of a C library in Mini-OS |
| From: | ramsdell@xxxxxxxxx (John D. Ramsdell) |
| Date: | 19 May 2006 14:07:52 -0400 |
| Delivery-date: | 2006年5月19日 11:08:53 -0700 |
| Envelope-to: | www-data@xxxxxxxxxxxxxxxxxx |
| In-reply-to: | <E1Fh7Rx-00087F-4v@host-192-168-0-1-bcn-london> |
| List-help: | <mailto:xen-devel-request@lists.xensource.com?subject=help> |
| List-id: | Xen developer discussion <xen-devel.lists.xensource.com> |
| List-post: | <mailto:xen-devel@lists.xensource.com> |
| List-subscribe: | <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
| List-unsubscribe: | <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
| Sender: | xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
| User-agent: | Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
I noticed many improvements have been made to Mini-OS, and one can now
easily integrate an application into Mini-OS as long as the
application does not depend on a C library. My thanks go to those
responsible.
I'd like to make it so that the following command builds libminios.a
using a cross-compiler that provides a full C library.
$ $PATH=${COMP_HOME}/bin:$PATH make CPPFLAGS=-DHAVE_LIBC libminios.a
The enclosed patch makes small changes to three files. The Makefile
is changed so that the libminios.a target depends on the links target,
and lib/printf.c and lib/string.c are changed so their content is
omitted when HAVE_LIBC is defined.
John
Attachment:
have_libc.patch
Description: Allow use of a C library in Mini-OS
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Xen-devel] [PATCH] minor tweak to keep network-bridge working in busybox environment , David Lively |
|---|---|
| Next by Date: | [Xen-devel] Daily Xen Builds , David F. Barrera |
| Previous by Thread: | [Xen-devel] [PATCH] minor tweak to keep network-bridge working in busybox environment , David Lively |
| Next by Thread: | [Xen-devel] [PATCH][libxc] Bounds check for parray , Puthiyaparambil, Aravindh |
| Indexes: | [Date] [Thread] [Top] [All Lists] |